GitHub check

Whole log, 134 KB
Current runner version: '2.338.1'
Runner name: 'blacksmith-4vcpu-ubuntu-2404-s3i4fvsoqjr5pziz'
Runner group name: 'blacksmith scale sets - blacksmith-4vcpu-ubuntu-2404'
Machine name: 'ip-172-31-73-130'
โ–ธ GITHUB_TOKEN Permissions
Contents: read
Metadata: read
Secret source: Actions
Cache mode: write
Prepare workflow directory
Prepare all required actions
Getting action download info
Download action repository 'actions/checkout@v6' (SHA:d23441a48e516b6c34aea4fa41551a30e30af803)
Download action repository 'actions/cache@v6' (SHA:55cc8345863c7cc4c66a329aec7e433d2d1c52a9)
Download action repository 'actions/upload-artifact@v7' (SHA:cf430e030ddbb5b0abf93d22962f4752f3646cd9)
Setting BLACKSMITH_ACTIONS_RESULTS_URL to https://results-receiver.actions.githubusercontent.com/
Complete job name: Test Server 8
A job started hook has been configured by the self-hosted runner administrator
โ–ธ Run '/setup.sh'
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
env:
  BLACKSMITH_RUNNER_MESSAGE_WAIT_MS: 167
  BLACKSMITH_RUNNER_ACQUIRE_JOB_MS: 387
  BLACKSMITH_CHECK_RUN_ID: 121054167979
  BLACKSMITH_JOB_DISPLAY_NAME: Test Server 8
  GITHUB_ACTIONS_CACHE_MODE: write
Logging daemon started (blacksmithd for logs)
Results daemon started (blacksmithd for results)
Background adoption and SSH setup started (PID: 2936)

----------------------------------------
View this job: https://app.blacksmith.sh/pingdotgg/runs/40154931361/jobs/121054167979
SSH Access (using your GitHub SSH key):
  ssh -p 64000 runner@blacksmith-4vcpu-ubuntu-2404-s3i4fvsoqjr5pziz.vm.blacksmith.sh

No GitHub SSH key? Add one at:
https://docs.github.com/en/authentication/connecting-to-github-with-ssh/adding-a-new-ssh-key-to-your-github-account

----------------------------------------

VM ID: blacksmith-4vcpu-ubuntu-2404-s3i4fvsoqjr5pziz
Host: production-152.236.30.140-x8664
Host Agent PID: 3957923
Host Agent Git SHA: 1637818df
Host CPU Manufacturer: AuthenticAMD
Blacksmith Host Generation: gen 2
Petname: production-sure-gobbler-42b61a01
Region: us-east
Rootfs Version: ubuntu24-full-x64-081926
OS Version: Ubuntu 24.04.4 LTS

Enabling Blacksmith transparent cache
โ–ธ Run actions/checkout@v6
with:
  fetch-depth: 2
  sparse-checkout: /*
!/.repos/
!/apps/mobile/modules/t3-terminal/Vendor/**/*.a

  sparse-checkout-cone-mode: false
  repository: pingdotgg/t3code
  token: ***
  ssh-strict: true
  ssh-user: git
  persist-credentials: true
  clean: true
  fetch-tags: false
  show-progress: true
  lfs: false
  submodules: false
  set-safe-directory: true
  allow-unsafe-pr-checkout: false
env:
  BLACKSMITH_RUNNER_MESSAGE_WAIT_MS: 167
  BLACKSMITH_RUNNER_ACQUIRE_JOB_MS: 387
  GITHUB_REPO_NAME: pingdotgg/t3code
Syncing repository: pingdotgg/t3code
โ–ธ Getting Git version info
Working directory is '/home/runner/_work/t3code/t3code'
[command]/usr/local/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/_work/_temp/98bfcf3e-923b-4383-927a-cfec28cbd9eb' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
[command]/usr/local/bin/git config --global --add safe.directory /home/runner/_work/t3code/t3code
Deleting the contents of '/home/runner/_work/t3code/t3code'
โ–ธ Determining repository object format
โ–ธ Initializing the repository
[command]/usr/local/bin/git init /home/runner/_work/t3code/t3code
hint: Using 'master' as the name for the initial branch. This default branch name
hint: will change to "main" in Git 3.0. To configure the initial branch name
hint: to use in all of your new repositories, which will suppress this warning,
hint: call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
hint:
hint: Disable this message with "git config set advice.defaultBranchName false"
Initialized empty Git repository in /home/runner/_work/t3code/t3code/.git/
[command]/usr/local/bin/git remote add origin https://github.com/pingdotgg/t3code
โ–ธ Disabling automatic garbage collection
[command]/usr/local/bin/git config --local gc.auto 0
โ–ธ Setting up auth
Removing SSH command configuration
[command]/usr/local/bin/git config --local --name-only --get-regexp core\.sshCommand
[command]/usr/local/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
Removing HTTP extra header
[command]/usr/local/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
[command]/usr/local/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
Removing includeIf entries pointing to credentials config files
[command]/usr/local/bin/git config --local --name-only --get-regexp ^includeIf\.gitdir:
[command]/usr/local/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
[command]/usr/local/bin/git config --file /home/runner/_work/_temp/git-credentials-2f1a43d3-d069-4ea4-aac1-979c3fb03408.config http.https://github.com/.extraheader AUTHORIZATION: basic ***
[command]/usr/local/bin/git config --local includeIf.gitdir:/home/runner/_work/t3code/t3code/.git.path /home/runner/_work/_temp/git-credentials-2f1a43d3-d069-4ea4-aac1-979c3fb03408.config
[command]/usr/local/bin/git config --local includeIf.gitdir:/home/runner/_work/t3code/t3code/.git/worktrees/*.path /home/runner/_work/_temp/git-credentials-2f1a43d3-d069-4ea4-aac1-979c3fb03408.config
[command]/usr/local/bin/git config --local includeIf.gitdir:/github/workspace/.git.path /github/runner_temp/git-credentials-2f1a43d3-d069-4ea4-aac1-979c3fb03408.config
[command]/usr/local/bin/git config --local includeIf.gitdir:/github/workspace/.git/worktrees/*.path /github/runner_temp/git-credentials-2f1a43d3-d069-4ea4-aac1-979c3fb03408.config
โ–ธ Fetching the repository
[command]/usr/local/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --filter=blob:none --depth=2 origin +68d5b7ac735a5e95a945084430c6b5925873cc82:refs/remotes/origin/main
From https://github.com/pingdotgg/t3code
 * [new ref]         68d5b7ac735a5e95a945084430c6b5925873cc82 -> origin/main
[command]/usr/local/bin/git branch --list --remote origin/main
  origin/main
[command]/usr/local/bin/git rev-parse refs/remotes/origin/main
68d5b7ac735a5e95a945084430c6b5925873cc82
โ–ธ Determining the checkout info
โ–ธ Setting up sparse checkout
[command]/usr/local/bin/git config core.sparseCheckout true
[command]/usr/local/bin/git rev-parse --git-path info/sparse-checkout
.git/info/sparse-checkout
โ–ธ Checking out the ref
[command]/usr/local/bin/git checkout --progress --force -B main refs/remotes/origin/main
Updating files:   0% (1/6499)
Updating files:   1% (65/6499)
Updating files:   2% (130/6499)
Updating files:   3% (195/6499)
Updating files:   4% (260/6499)
Updating files:   5% (325/6499)
Updating files:   6% (390/6499)
Updating files:   7% (455/6499)
Updating files:   8% (520/6499)
Updating files:   9% (585/6499)
Updating files:  10% (650/6499)
Updating files:  11% (715/6499)
Updating files:  12% (780/6499)
Updating files:  13% (845/6499)
Updating files:  14% (910/6499)
Updating files:  15% (975/6499)
Updating files:  16% (1040/6499)
Updating files:  17% (1105/6499)
Updating files:  18% (1170/6499)
Updating files:  19% (1235/6499)
Updating files:  20% (1300/6499)
Updating files:  21% (1365/6499)
Updating files:  22% (1430/6499)
Updating files:  23% (1495/6499)
Updating files:  24% (1560/6499)
Updating files:  25% (1625/6499)
Updating files:  26% (1690/6499)
Updating files:  27% (1755/6499)
Updating files:  28% (1820/6499)
Updating files:  29% (1885/6499)
Updating files:  30% (1950/6499)
Updating files:  31% (2015/6499)
Updating files:  32% (2080/6499)
Updating files:  33% (2145/6499)
Updating files:  34% (2210/6499)
Updating files:  35% (2275/6499)
Updating files:  36% (2340/6499)
Updating files:  37% (2405/6499)
Updating files:  38% (2470/6499)
Updating files:  39% (2535/6499)
Updating files:  40% (2600/6499)
Updating files:  41% (2665/6499)
Updating files:  42% (2730/6499)
Updating files:  43% (2795/6499)
Updating files:  44% (2860/6499)
Updating files:  45% (2925/6499)
Updating files:  46% (2990/6499)
Updating files:  47% (3055/6499)
Updating files:  48% (3120/6499)
Updating files:  49% (3185/6499)
Updating files:  50% (3250/6499)
Updating files:  51% (3315/6499)
Updating files:  52% (3380/6499)
Updating files:  53% (3445/6499)
Updating files:  54% (3510/6499)
Updating files:  55% (3575/6499)
Updating files:  56% (3640/6499)
Updating files:  57% (3705/6499)
Updating files:  58% (3770/6499)
Updating files:  59% (3835/6499)
Updating files:  59% (3870/6499)
Updating files:  60% (3900/6499)
Updating files:  61% (3965/6499)
Updating files:  62% (4030/6499)
Updating files:  63% (4095/6499)
Updating files:  64% (4160/6499)
Updating files:  65% (4225/6499)
Updating files:  66% (4290/6499)
Updating files:  67% (4355/6499)
Updating files:  68% (4420/6499)
Updating files:  69% (4485/6499)
Updating files:  70% (4550/6499)
Updating files:  71% (4615/6499)
Updating files:  72% (4680/6499)
Updating files:  73% (4745/6499)
Updating files:  74% (4810/6499)
Updating files:  75% (4875/6499)
Updating files:  76% (4940/6499)
Updating files:  77% (5005/6499)
Updating files:  78% (5070/6499)
Updating files:  79% (5135/6499)
Updating files:  80% (5200/6499)
Updating files:  81% (5265/6499)
Updating files:  82% (5330/6499)
Updating files:  83% (5395/6499)
Updating files:  84% (5460/6499)
Updating files:  85% (5525/6499)
Updating files:  86% (5590/6499)
Updating files:  87% (5655/6499)
Updating files:  88% (5720/6499)
Updating files:  89% (5785/6499)
Updating files:  90% (5850/6499)
Updating files:  91% (5915/6499)
Updating files:  92% (5980/6499)
Updating files:  93% (6045/6499)
Updating files:  94% (6110/6499)
Updating files:  95% (6175/6499)
Updating files:  96% (6240/6499)
Updating files:  97% (6305/6499)
Updating files:  98% (6370/6499)
Updating files:  99% (6435/6499)
Updating files: 100% (6499/6499)
Updating files: 100% (6499/6499), done.
Switched to a new branch 'main'
branch 'main' set up to track 'origin/main'.
[command]/usr/local/bin/git log -1 --format=%H
68d5b7ac735a5e95a945084430c6b5925873cc82
Prepare all required actions
โ–ธ Run ./.github/actions/ci-changes
env:
  BLACKSMITH_RUNNER_MESSAGE_WAIT_MS: 167
  BLACKSMITH_RUNNER_ACQUIRE_JOB_MS: 387
  GITHUB_REPO_NAME: pingdotgg/t3code
##[start-action display=Run set -uo pipefail;id=changes.detect]
โ–ธ Run set -uo pipefail
set -uo pipefail

decide() {
  node .github/scripts/ci-changes.cjs "$@" | tee -a "$GITHUB_OUTPUT"
  exit "${PIPESTATUS[0]}"
}

fail_open() {
  echo "$* Running every job."
  decide
}

# Reads the change from git rather than the REST API: every job that
# runs this shares the repository's 1,000 requests/hour GITHUB_TOKEN quota.
if [[ "$EVENT_NAME" == pull_request ]]; then
  # A pull request checks out GitHub's merge commit with fetch-depth: 2,
  # so its first parent is the base branch and the diff is the PR's change.
  base=HEAD^1
  mode=()
else
  base=$BEFORE_SHA
  git fetch --quiet --no-tags --depth=1 --filter=blob:none origin "$base" \
    || fail_open "Could not fetch ${base}."
  # main keeps a full run as the backstop for anything the gate misses.
  mode=(--full)
fi

# --no-renames lists a rename as its old and new path: renaming a file out
# of a package changes that package just like editing it. It also keeps
# git from fetching file contents to score renames.
git diff --name-only --no-renames "$base" HEAD > "$RUNNER_TEMP/changed-paths" \
  || fail_open "Could not diff against ${base}."
decide --paths "$RUNNER_TEMP/changed-paths" "${mode[@]}"
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
env:
  BLACKSMITH_RUNNER_MESSAGE_WAIT_MS: 167
  BLACKSMITH_RUNNER_ACQUIRE_JOB_MS: 387
  GITHUB_REPO_NAME: pingdotgg/t3code
  EVENT_NAME: push
  BEFORE_SHA: 8f26ed7e279d6d290ab7200e88055b7a58982b7d
Affected packages: @t3tools/client-runtime, @t3tools/contracts, @t3tools/desktop, @t3tools/marketing, @t3tools/mobile, @t3tools/oxlint-plugin-t3code, @t3tools/provider-acp, @t3tools/provider-acp-registry, @t3tools/provider-core, @t3tools/provider-cursor, @t3tools/provider-grok, @t3tools/provider-muse, @t3tools/provider-opencode, @t3tools/provider-pi, @t3tools/provider-testing, @t3tools/scripts, @t3tools/shared, @t3tools/source-control-azure-devops, @t3tools/source-control-bitbucket, @t3tools/source-control-core, @t3tools/source-control-definitions, @t3tools/source-control-forgejo, @t3tools/source-control-gitcafe, @t3tools/source-control-github, @t3tools/source-control-gitlab, @t3tools/source-control-testing, @t3tools/ssh, @t3tools/tailscale, @t3tools/web, effect-acp, effect-codex-app-server, t3, t3code-relay
typecheck=true
build=true
test=true
test_packages=
test_web=true
test_server=true
rust=true
release_smoke=true
mobile_native=false
##[end-action id=changes.detect;outcome=success;conclusion=success;duration_ms=222]
Prepare all required actions
Getting action download info
Download action repository 'voidzero-dev/setup-vp@v1' (SHA:250f29ce396baf5e8f24498e17c0dfdebabc26eb)
โ–ธ Run ./.github/actions/setup-ci-deps
env:
  BLACKSMITH_RUNNER_MESSAGE_WAIT_MS: 167
  BLACKSMITH_RUNNER_ACQUIRE_JOB_MS: 387
  GITHUB_REPO_NAME: pingdotgg/t3code
##[start-action display=Resolve Vite+ version;id=__self.vp]
โ–ธ Run echo "version=$(sed -nE 's/^  vite-plus: ([0-9][^ ]*)$/\1/p' pnpm-workspace.yaml)" >> "$GITHUB_OUTPUT"
echo "version=$(sed -nE 's/^  vite-plus: ([0-9][^ ]*)$/\1/p' pnpm-workspace.yaml)" >> "$GITHUB_OUTPUT"
echo "node=$(jq -r '.engines.node' package.json)" >> "$GITHUB_OUTPUT"
echo "pnpm=$(jq -r '.packageManager' package.json)" >> "$GITHUB_OUTPUT"
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
env:
  BLACKSMITH_RUNNER_MESSAGE_WAIT_MS: 167
  BLACKSMITH_RUNNER_ACQUIRE_JOB_MS: 387
  GITHUB_REPO_NAME: pingdotgg/t3code
##[end-action id=__self.vp;outcome=success;conclusion=success;duration_ms=7]
##[start-action display=Cache Vite+;id=__self.vp_cache]
โ–ธ Run actions/cache@v6
with:
  path: ~/.vite-plus
  key: vite-plus-home-v2-Linux-X64-1.3.0-node26.12.1-pnpm@12.14.0
  enableCrossOsArchive: false
  fail-on-cache-miss: false
  lookup-only: false
  save-always: false
env:
  BLACKSMITH_RUNNER_MESSAGE_WAIT_MS: 167
  BLACKSMITH_RUNNER_ACQUIRE_JOB_MS: 387
  GITHUB_REPO_NAME: pingdotgg/t3code
Cache hit for: vite-plus-home-v2-Linux-X64-1.3.0-node26.12.1-pnpm@12.14.0
Received 170349591 of 170349591 (100.0%), 447.5 MBs/sec
Cache Size: ~162 MB (170349591 B)
[command]/usr/bin/tar -xf /home/runner/_work/_temp/30c53288-cbd4-443d-b343-7b9640369e75/cache.tzst -P -C /home/runner/_work/t3code/t3code --use-compress-program unzstd
Cache restored successfully
Cache restored from key: vite-plus-home-v2-Linux-X64-1.3.0-node26.12.1-pnpm@12.14.0
##[end-action id=__self.vp_cache;outcome=success;conclusion=success;duration_ms=1592]
##[start-action display=Use cached Vite+;id=__self.__run]
โ–ธ Run echo "$HOME/.vite-plus/bin" >> "$GITHUB_PATH"
echo "$HOME/.vite-plus/bin" >> "$GITHUB_PATH"
"$HOME/.vite-plus/bin/vp" env use "26.12.1"
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
env:
  BLACKSMITH_RUNNER_MESSAGE_WAIT_MS: 167
  BLACKSMITH_RUNNER_ACQUIRE_JOB_MS: 387
  GITHUB_REPO_NAME: pingdotgg/t3code
Using Node.js v26.12.1 (resolved from 26.12.1)
##[end-action id=__self.__run;outcome=success;conclusion=success;duration_ms=10]
##[start-action display=Setup Vite+;id=__self.__voidzero-dev_setup-vp]
##[end-action id=__self.__voidzero-dev_setup-vp;outcome=skipped;conclusion=skipped;duration_ms=0]
##[start-action display=Resolve pnpm store path;id=__self.pnpm_store]
โ–ธ Run store_path="$(vp pm cache dir)"
store_path="$(vp pm cache dir)"
echo "path=$store_path" >> "$GITHUB_OUTPUT"
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
env:
  BLACKSMITH_RUNNER_MESSAGE_WAIT_MS: 167
  BLACKSMITH_RUNNER_ACQUIRE_JOB_MS: 387
  GITHUB_REPO_NAME: pingdotgg/t3code
##[end-action id=__self.pnpm_store;outcome=success;conclusion=success;duration_ms=13]
##[start-action display=Cache full pnpm store;id=__self.__actions_cache]
โ–ธ Run actions/cache@v6
with:
  path: /home/runner/.local/share/pnpm/store/v11
  key: pnpm-full-v1-Linux-X64-67727b77004e0e6799b7f8587a750813c0ad4460c623edf0becc280ccb581251
  restore-keys: pnpm-full-v1-Linux-X64-

  enableCrossOsArchive: false
  fail-on-cache-miss: false
  lookup-only: false
  save-always: false
env:
  BLACKSMITH_RUNNER_MESSAGE_WAIT_MS: 167
  BLACKSMITH_RUNNER_ACQUIRE_JOB_MS: 387
  GITHUB_REPO_NAME: pingdotgg/t3code
Cache hit for: pnpm-full-v1-Linux-X64-67727b77004e0e6799b7f8587a750813c0ad4460c623edf0becc280ccb581251
Received 696254464 of 998502311 (69.7%), 664.0 MBs/sec
Received 998502311 of 998502311 (100.0%), 664.0 MBs/sec
Cache Size: ~952 MB (998502311 B)
[command]/usr/bin/tar -xf /home/runner/_work/_temp/e30efb8f-1d73-469a-b045-9ca69c3be33b/cache.tzst -P -C /home/runner/_work/t3code/t3code --use-compress-program unzstd
Cache restored successfully
Cache restored from key: pnpm-full-v1-Linux-X64-67727b77004e0e6799b7f8587a750813c0ad4460c623edf0becc280ccb581251
##[end-action id=__self.__actions_cache;outcome=success;conclusion=success;duration_ms=6904]
##[start-action display=Install dependencies;id=__self.__run_2]
โ–ธ Run vp install
vp install
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
env:
  BLACKSMITH_RUNNER_MESSAGE_WAIT_MS: 167
  BLACKSMITH_RUNNER_ACQUIRE_JOB_MS: 387
  GITHUB_REPO_NAME: pingdotgg/t3code
Scope: all 34 workspace projects
? Verifying lockfile against supply-chain policies (2087 entries)...
Packages are hard linked from the content-addressable store to the virtual store.
  Content-addressable store is at: /home/runner/.local/share/pnpm/store/v11
  Virtual store is at:             node_modules/.pnpm
โœ“ Lockfile passes supply-chain policies (2087 entries in 2.5s)
Lockfile is up to date, resolution step is skipped
Packages: +1720
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Progress: resolved 1720, reused 1716, downloaded 0, added 1720, done
. prepare$ vp config --no-agent
. prepare: Done

devDependencies:
+ @coderabbitai/config 1.1.0
+ @shadcn/lint 0.1.5
+ @types/node 24.12.4
+ knip 6.34.0
+ typescript <- @tsc-rs/typescript 0.8.0
+ vite-plus 1.3.0

Done in 3.7s using pnpm v12.14.0
##[end-action id=__self.__run_2;outcome=success;conclusion=success;duration_ms=3728]
โ–ธ Run echo "version=$(node -p "require('./apps/server/node_modules/playwright-core/package.json').version")" >> "$GITHUB_OUTPUT"
echo "version=$(node -p "require('./apps/server/node_modules/playwright-core/package.json').version")" >> "$GITHUB_OUTPUT"
shell: /usr/bin/bash -e {0}
env:
  BLACKSMITH_RUNNER_MESSAGE_WAIT_MS: 167
  BLACKSMITH_RUNNER_ACQUIRE_JOB_MS: 387
  GITHUB_REPO_NAME: pingdotgg/t3code
โ–ธ Run actions/cache@v6
with:
  path: ~/.cache/ms-playwright
  key: playwright-chromium-shell-Linux-X64-1.60.0
  enableCrossOsArchive: false
  fail-on-cache-miss: false
  lookup-only: false
  save-always: false
env:
  BLACKSMITH_RUNNER_MESSAGE_WAIT_MS: 167
  BLACKSMITH_RUNNER_ACQUIRE_JOB_MS: 387
  GITHUB_REPO_NAME: pingdotgg/t3code
Cache hit for: playwright-chromium-shell-Linux-X64-1.60.0
Received 106503405 of 106503405 (100.0%), 159.0 MBs/sec
Cache Size: ~102 MB (106503405 B)
[command]/usr/bin/tar -xf /home/runner/_work/_temp/9a08bf5e-4272-4cc7-8a55-c2e8cf30c2e1/cache.tzst -P -C /home/runner/_work/t3code/t3code --use-compress-program unzstd
Cache restored successfully
Cache restored from key: playwright-chromium-shell-Linux-X64-1.60.0
โ–ธ Run browser=$(find "$HOME/.cache/ms-playwright" -name chrome-headless-shell -type f -print -quit)
browser=$(find "$HOME/.cache/ms-playwright" -name chrome-headless-shell -type f -print -quit)
test -n "$browser"
if ldd "$browser" | grep '=> not found'; then
  node apps/server/node_modules/playwright-core/cli.js install-deps chromium
fi
shell: /usr/bin/bash -e {0}
env:
  BLACKSMITH_RUNNER_MESSAGE_WAIT_MS: 167
  BLACKSMITH_RUNNER_ACQUIRE_JOB_MS: 387
  GITHUB_REPO_NAME: pingdotgg/t3code
โ–ธ Run vp run --filter t3 test --shard 8/8
vp run --filter t3 test --shard 8/8
shell: /usr/bin/bash -e {0}
env:
  BLACKSMITH_RUNNER_MESSAGE_WAIT_MS: 167
  BLACKSMITH_RUNNER_ACQUIRE_JOB_MS: 387
  GITHUB_REPO_NAME: pingdotgg/t3code
  T3CODE_TRANSFER_BUDGET_REPORT_PATH: /home/runner/_work/_temp/t3code-transfer-budget.md
  T3CODE_TRANSFER_BUDGET_RESULT_PATH: /home/runner/_work/_temp/thread-transfer-result.json
~/apps/server$ vp test run --shard 8/8 โŠ˜ cache disabled

 RUN  v5.0.5 /home/runner/_work/t3code/t3code/apps/server

 โœ“ src/orchestration-v2/ProviderSessionManager.test.ts (41 tests) 996ms
 โœ“ src/orchestration-v2/RunExecutionService.test.ts (44 tests) 59ms
 โœ“ src/orchestration-v2/DelegatedCompletionDelivery.test.ts (26 tests) 567ms
 โœ“ src/project/AgentSessionScanner.test.ts (53 tests) 698ms
   โœ“ AgentSessionScanner (37)
     โœ“ recentThreads (18)
       โœ“ skips excessive records without blocking an older valid transcript 313ms
 โœ“ src/provider/acp/AcpJsonRpcConnection.test.ts (30 tests) 5375ms
   โœ“ AcpSessionRuntime (30)
     โœ“ drains large stderr output and keeps auth-sized logging chunks 362ms
     โœ“ keeps assistant item IDs unique when a provider session restarts 364ms
 โœ“ src/orchestration-v2/RestartContinuation.test.ts (44 tests) 38ms
 โœ“ src/provider/providerMaintenanceRunner.test.ts (18 tests) 35ms
 โœ“ src/mcp/McpHttpServer.test.ts (19 tests) 136ms
stdout | src/orchestration-v2/SelectionRestart.integration.test.ts > retries a failed selection restart session open before completing
[02:34:45.062] INFO (#22): Migrations ran successfully {
  migrations: [
    '1_OrchestrationEvents',
    '2_OrchestrationCommandReceipts',
    '3_CheckpointDiffBlobs',
    '4_ProviderSessionRuntime',
    '5_Projections',
    '6_ProjectionThreadSessionRuntimeModeColumns',
    '7_ProjectionThreadMessageAttachments',
    '8_ProjectionThreadActivitySequence',
    '9_ProviderSessionRuntimeMode',
    '10_ProjectionThreadsRuntimeMode',
    '11_OrchestrationThreadCreatedRuntimeMode',
    '12_ProjectionThreadsInteractionMode',
    '13_ProjectionThreadProposedPlans',
    '14_ProjectionThreadProposedPlanImplementation',
    '15_ProjectionTurnsSourceProposedPlan',
    '16_CanonicalizeModelSelections',
    '17_ProjectionThreadsArchivedAt',
    '18_ProjectionThreadsArchivedAtIndex',
    '19_ProjectionSnapshotLookupIndexes',
    '20_AuthAccessManagement',
    '21_AuthSessionClientMetadata',
    '22_AuthSessionLastConnectedAt',
    '23_ProjectionThreadShellSummary',
    '24_BackfillProjectionThreadShellSummary',
    '25_CleanupInvalidProjectionPendingApprovals',
    '26_CanonicalizeModelSelectionOptions',
    '27_ProviderSessionRuntimeInstanceId',
    '28_ProjectionThreadSessionInstanceId',
    '29_ProjectionThreadDetailOrderingIndexes',
    '30_ProjectionThreadShellArchiveIndexes',
    '31_AuthAuthorizationScopes',
    '32_AuthPairingProofKeyThumbprint',
    '33_ProjectionThreadsSettled',
    '34_ProjectionThreadsSnoozed',
    '35_ProjectionThreadTitleRegeneration',
    '36_ProjectionThreadsPinned',
    '37_ProjectionTurnsKeysetIndex',
    '38_ProjectionThreadsPinOrderKey',
    '39_ProjectionProjectsDefaultThreadEnvMode',
    '40_ProjectionProjectFaviconPath',
    '41_AuthSessionClientConnection',
    '42_ProjectionThreadLinkedPullRequest',
    '43_ProjectionThreadsUnsettledAt',
    '44_ClearAutomaticProjectModelDefaults',
    '45_ProjectionProjectsAutoPull',
    '46_RepairAutomaticSettlementTimestamps',
    '47_ProjectionProjectIcon',
    '48_ProjectionThreadBranchPullRequest',
    '49_ProjectionThreadsActiveOrderKey',
    '50_ProjectionThreadPullRequests',
    '51_ProjectionThreadMessageContext',
    '52_ProjectionThreadTitleState',
    '53_PullRequestFilesViewed',
    '54_ProjectionThreadsAutoSettleDisabledAt',
    '55_OrchestrationV2',
    '56_RemoveRedundantProjectionIndexes',
    '57_ScheduledTaskWebhooks',
    '58_WebhookRelayDeliveries',
    '59_McpAppModelContext',
    '60_ThreadSnapshotWindowIndexes',
    '61_PullRequestReviewGuides',
    '62_ThreadFailureLookupIndex',
    '63_DropUnusedV1Projections',
    '64_CanonicalizeThreadPullRequestLinks',
    '65_CodexUsageNativeTurnIndex',
    '66_RepairClientSettlementTimestamps',
    '67_WebhookDedupe',
    '68_ShellStopRequestIndex',
    '69_ThreadMessageSearch'
  ]
}

stdout | src/orchestration-v2/SelectionRestart.integration.test.ts > retries a failed selection restart session open before completing
[02:34:45.199] WARN (#1246): Orchestration effect execution failed {
  effectId: 'effect:command:selection-restart:second:provider-turn.restart:provider-turn:run-attempt:run:run%3Athread%3Athread%253Aselection-restart-lifecycle%3Aordinal%3A1:attempt:1',
  effectType: 'provider-turn.restart',
  attemptCount: 1,
  nonRetryable: false,
  error: 'OrchestrationEffectExecutionError: \n' +
    '    at /home/runner/_work/t3code/t3code/apps/server/src/orchestration-v2/EffectWorker.ts:366:21\n' +
    '    at file:///home/runner/_work/t3code/t3code/node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/effect.js:1483:96 {\n' +
    '  [cause]: ProviderTurnStartError: \n' +
    '      at /home/runner/_work/t3code/t3code/apps/server/src/orchestration-v2/ProviderTurnStartService.ts:1359:19\n' +
    '      at file:///home/runner/_work/t3code/t3code/node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/effect.js:1483:96 {\n' +
    '    [cause]: ProviderSessionOpenError: Failed to open provider instance codex-restart-test session provider-session:provider-instance:codex-restart-test:thread:thread%3Aselection-restart-lifecycle:cbc7a785-68df-4d61-9424-0ff1a444d985.\n' +
    '        at /home/runner/_work/t3code/t3code/apps/server/src/orchestration-v2/ProviderSessionManager.ts:2144:23\n' +
    '        at file:///home/runner/_work/t3code/t3code/node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/effect.js:1483:96 {\n' +
    '      [cause]: ProviderAdapterOpenSessionError: Failed to open codex provider session provider-session:provider-instance:codex-restart-test:thread:thread%3Aselection-restart-lifecycle:cbc7a785-68df-4d61-9424-0ff1a444d985.\n' +
    '          at /home/runner/_work/t3code/t3code/apps/server/src/orchestration-v2/SelectionRestart.integration.test.ts:117:25 {\n' +
    '        [cause]: Error: simulated replacement open failure\n' +
    '      }\n' +
    '    }\n' +
    '  }\n' +
    '}'
}

stdout | src/orchestration-v2/SelectionRestart.integration.test.ts > restarts the live session on a model change when a newer stopped session record exists
[02:34:45.412] INFO (#2642): Migrations ran successfully {
  migrations: [
    '1_OrchestrationEvents',
    '2_OrchestrationCommandReceipts',
    '3_CheckpointDiffBlobs',
    '4_ProviderSessionRuntime',
    '5_Projections',
    '6_ProjectionThreadSessionRuntimeModeColumns',
    '7_ProjectionThreadMessageAttachments',
    '8_ProjectionThreadActivitySequence',
    '9_ProviderSessionRuntimeMode',
    '10_ProjectionThreadsRuntimeMode',
    '11_OrchestrationThreadCreatedRuntimeMode',
    '12_ProjectionThreadsInteractionMode',
    '13_ProjectionThreadProposedPlans',
    '14_ProjectionThreadProposedPlanImplementation',
    '15_ProjectionTurnsSourceProposedPlan',
    '16_CanonicalizeModelSelections',
    '17_ProjectionThreadsArchivedAt',
    '18_ProjectionThreadsArchivedAtIndex',
    '19_ProjectionSnapshotLookupIndexes',
    '20_AuthAccessManagement',
    '21_AuthSessionClientMetadata',
    '22_AuthSessionLastConnectedAt',
    '23_ProjectionThreadShellSummary',
    '24_BackfillProjectionThreadShellSummary',
    '25_CleanupInvalidProjectionPendingApprovals',
    '26_CanonicalizeModelSelectionOptions',
    '27_ProviderSessionRuntimeInstanceId',
    '28_ProjectionThreadSessionInstanceId',
    '29_ProjectionThreadDetailOrderingIndexes',
    '30_ProjectionThreadShellArchiveIndexes',
    '31_AuthAuthorizationScopes',
    '32_AuthPairingProofKeyThumbprint',
    '33_ProjectionThreadsSettled',
    '34_ProjectionThreadsSnoozed',
    '35_ProjectionThreadTitleRegeneration',
    '36_ProjectionThreadsPinned',
    '37_ProjectionTurnsKeysetIndex',
    '38_ProjectionThreadsPinOrderKey',
    '39_ProjectionProjectsDefaultThreadEnvMode',
    '40_ProjectionProjectFaviconPath',
    '41_AuthSessionClientConnection',
    '42_ProjectionThreadLinkedPullRequest',
    '43_ProjectionThreadsUnsettledAt',
    '44_ClearAutomaticProjectModelDefaults',
    '45_ProjectionProjectsAutoPull',
    '46_RepairAutomaticSettlementTimestamps',
    '47_ProjectionProjectIcon',
    '48_ProjectionThreadBranchPullRequest',
    '49_ProjectionThreadsActiveOrderKey',
    '50_ProjectionThreadPullRequests',
    '51_ProjectionThreadMessageContext',
    '52_ProjectionThreadTitleState',
    '53_PullRequestFilesViewed',
    '54_ProjectionThreadsAutoSettleDisabledAt',
    '55_OrchestrationV2',
    '56_RemoveRedundantProjectionIndexes',
    '57_ScheduledTaskWebhooks',
    '58_WebhookRelayDeliveries',
    '59_McpAppModelContext',
    '60_ThreadSnapshotWindowIndexes',
    '61_PullRequestReviewGuides',
    '62_ThreadFailureLookupIndex',
    '63_DropUnusedV1Projections',
    '64_CanonicalizeThreadPullRequestLinks',
    '65_CodexUsageNativeTurnIndex',
    '66_RepairClientSettlementTimestamps',
    '67_WebhookDedupe',
    '68_ShellStopRequestIndex',
    '69_ThreadMessageSearch'
  ]
}

stdout | src/orchestration-v2/SelectionRestart.integration.test.ts > preserves native history only for compatible account switches (active)
[02:34:45.645] INFO (#5323): Migrations ran successfully {
  migrations: [
    '1_OrchestrationEvents',
    '2_OrchestrationCommandReceipts',
    '3_CheckpointDiffBlobs',
    '4_ProviderSessionRuntime',
    '5_Projections',
    '6_ProjectionThreadSessionRuntimeModeColumns',
    '7_ProjectionThreadMessageAttachments',
    '8_ProjectionThreadActivitySequence',
    '9_ProviderSessionRuntimeMode',
    '10_ProjectionThreadsRuntimeMode',
    '11_OrchestrationThreadCreatedRuntimeMode',
    '12_ProjectionThreadsInteractionMode',
    '13_ProjectionThreadProposedPlans',
    '14_ProjectionThreadProposedPlanImplementation',
    '15_ProjectionTurnsSourceProposedPlan',
    '16_CanonicalizeModelSelections',
    '17_ProjectionThreadsArchivedAt',
    '18_ProjectionThreadsArchivedAtIndex',
    '19_ProjectionSnapshotLookupIndexes',
    '20_AuthAccessManagement',
    '21_AuthSessionClientMetadata',
    '22_AuthSessionLastConnectedAt',
    '23_ProjectionThreadShellSummary',
    '24_BackfillProjectionThreadShellSummary',
    '25_CleanupInvalidProjectionPendingApprovals',
    '26_CanonicalizeModelSelectionOptions',
    '27_ProviderSessionRuntimeInstanceId',
    '28_ProjectionThreadSessionInstanceId',
    '29_ProjectionThreadDetailOrderingIndexes',
    '30_ProjectionThreadShellArchiveIndexes',
    '31_AuthAuthorizationScopes',
    '32_AuthPairingProofKeyThumbprint',
    '33_ProjectionThreadsSettled',
    '34_ProjectionThreadsSnoozed',
    '35_ProjectionThreadTitleRegeneration',
    '36_ProjectionThreadsPinned',
    '37_ProjectionTurnsKeysetIndex',
    '38_ProjectionThreadsPinOrderKey',
    '39_ProjectionProjectsDefaultThreadEnvMode',
    '40_ProjectionProjectFaviconPath',
    '41_AuthSessionClientConnection',
    '42_ProjectionThreadLinkedPullRequest',
    '43_ProjectionThreadsUnsettledAt',
    '44_ClearAutomaticProjectModelDefaults',
    '45_ProjectionProjectsAutoPull',
    '46_RepairAutomaticSettlementTimestamps',
    '47_ProjectionProjectIcon',
    '48_ProjectionThreadBranchPullRequest',
    '49_ProjectionThreadsActiveOrderKey',
    '50_ProjectionThreadPullRequests',
    '51_ProjectionThreadMessageContext',
    '52_ProjectionThreadTitleState',
    '53_PullRequestFilesViewed',
    '54_ProjectionThreadsAutoSettleDisabledAt',
    '55_OrchestrationV2',
    '56_RemoveRedundantProjectionIndexes',
    '57_ScheduledTaskWebhooks',
    '58_WebhookRelayDeliveries',
    '59_McpAppModelContext',
    '60_ThreadSnapshotWindowIndexes',
    '61_PullRequestReviewGuides',
    '62_ThreadFailureLookupIndex',
    '63_DropUnusedV1Projections',
    '64_CanonicalizeThreadPullRequestLinks',
    '65_CodexUsageNativeTurnIndex',
    '66_RepairClientSettlementTimestamps',
    '67_WebhookDedupe',
    '68_ShellStopRequestIndex',
    '69_ThreadMessageSearch'
  ]
}

stdout | src/orchestration-v2/SelectionRestart.integration.test.ts > preserves native history only for compatible account switches (idle)
[02:34:45.891] INFO (#8030): Migrations ran successfully {
  migrations: [
    '1_OrchestrationEvents',
    '2_OrchestrationCommandReceipts',
    '3_CheckpointDiffBlobs',
    '4_ProviderSessionRuntime',
    '5_Projections',
    '6_ProjectionThreadSessionRuntimeModeColumns',
    '7_ProjectionThreadMessageAttachments',
    '8_ProjectionThreadActivitySequence',
    '9_ProviderSessionRuntimeMode',
    '10_ProjectionThreadsRuntimeMode',
    '11_OrchestrationThreadCreatedRuntimeMode',
    '12_ProjectionThreadsInteractionMode',
    '13_ProjectionThreadProposedPlans',
    '14_ProjectionThreadProposedPlanImplementation',
    '15_ProjectionTurnsSourceProposedPlan',
    '16_CanonicalizeModelSelections',
    '17_ProjectionThreadsArchivedAt',
    '18_ProjectionThreadsArchivedAtIndex',
    '19_ProjectionSnapshotLookupIndexes',
    '20_AuthAccessManagement',
    '21_AuthSessionClientMetadata',
    '22_AuthSessionLastConnectedAt',
    '23_ProjectionThreadShellSummary',
    '24_BackfillProjectionThreadShellSummary',
    '25_CleanupInvalidProjectionPendingApprovals',
    '26_CanonicalizeModelSelectionOptions',
    '27_ProviderSessionRuntimeInstanceId',
    '28_ProjectionThreadSessionInstanceId',
    '29_ProjectionThreadDetailOrderingIndexes',
    '30_ProjectionThreadShellArchiveIndexes',
    '31_AuthAuthorizationScopes',
    '32_AuthPairingProofKeyThumbprint',
    '33_ProjectionThreadsSettled',
    '34_ProjectionThreadsSnoozed',
    '35_ProjectionThreadTitleRegeneration',
    '36_ProjectionThreadsPinned',
    '37_ProjectionTurnsKeysetIndex',
    '38_ProjectionThreadsPinOrderKey',
    '39_ProjectionProjectsDefaultThreadEnvMode',
    '40_ProjectionProjectFaviconPath',
    '41_AuthSessionClientConnection',
    '42_ProjectionThreadLinkedPullRequest',
    '43_ProjectionThreadsUnsettledAt',
    '44_ClearAutomaticProjectModelDefaults',
    '45_ProjectionProjectsAutoPull',
    '46_RepairAutomaticSettlementTimestamps',
    '47_ProjectionProjectIcon',
    '48_ProjectionThreadBranchPullRequest',
    '49_ProjectionThreadsActiveOrderKey',
    '50_ProjectionThreadPullRequests',
    '51_ProjectionThreadMessageContext',
    '52_ProjectionThreadTitleState',
    '53_PullRequestFilesViewed',
    '54_ProjectionThreadsAutoSettleDisabledAt',
    '55_OrchestrationV2',
    '56_RemoveRedundantProjectionIndexes',
    '57_ScheduledTaskWebhooks',
    '58_WebhookRelayDeliveries',
    '59_McpAppModelContext',
    '60_ThreadSnapshotWindowIndexes',
    '61_PullRequestReviewGuides',
    '62_ThreadFailureLookupIndex',
    '63_DropUnusedV1Projections',
    '64_CanonicalizeThreadPullRequestLinks',
    '65_CodexUsageNativeTurnIndex',
    '66_RepairClientSettlementTimestamps',
    '67_WebhookDedupe',
    '68_ShellStopRequestIndex',
    '69_ThreadMessageSearch'
  ]
}

stdout | src/orchestration-v2/SelectionRestart.integration.test.ts > preserves native history only for compatible account switches (selection-command)
[02:34:46.210] INFO (#10800): Migrations ran successfully {
  migrations: [
    '1_OrchestrationEvents',
    '2_OrchestrationCommandReceipts',
    '3_CheckpointDiffBlobs',
    '4_ProviderSessionRuntime',
    '5_Projections',
    '6_ProjectionThreadSessionRuntimeModeColumns',
    '7_ProjectionThreadMessageAttachments',
    '8_ProjectionThreadActivitySequence',
    '9_ProviderSessionRuntimeMode',
    '10_ProjectionThreadsRuntimeMode',
    '11_OrchestrationThreadCreatedRuntimeMode',
    '12_ProjectionThreadsInteractionMode',
    '13_ProjectionThreadProposedPlans',
    '14_ProjectionThreadProposedPlanImplementation',
    '15_ProjectionTurnsSourceProposedPlan',
    '16_CanonicalizeModelSelections',
    '17_ProjectionThreadsArchivedAt',
    '18_ProjectionThreadsArchivedAtIndex',
    '19_ProjectionSnapshotLookupIndexes',
    '20_AuthAccessManagement',
    '21_AuthSessionClientMetadata',
    '22_AuthSessionLastConnectedAt',
    '23_ProjectionThreadShellSummary',
    '24_BackfillProjectionThreadShellSummary',
    '25_CleanupInvalidProjectionPendingApprovals',
    '26_CanonicalizeModelSelectionOptions',
    '27_ProviderSessionRuntimeInstanceId',
    '28_ProjectionThreadSessionInstanceId',
    '29_ProjectionThreadDetailOrderingIndexes',
    '30_ProjectionThreadShellArchiveIndexes',
    '31_AuthAuthorizationScopes',
    '32_AuthPairingProofKeyThumbprint',
    '33_ProjectionThreadsSettled',
    '34_ProjectionThreadsSnoozed',
    '35_ProjectionThreadTitleRegeneration',
    '36_ProjectionThreadsPinned',
    '37_ProjectionTurnsKeysetIndex',
    '38_ProjectionThreadsPinOrderKey',
    '39_ProjectionProjectsDefaultThreadEnvMode',
    '40_ProjectionProjectFaviconPath',
    '41_AuthSessionClientConnection',
    '42_ProjectionThreadLinkedPullRequest',
    '43_ProjectionThreadsUnsettledAt',
    '44_ClearAutomaticProjectModelDefaults',
    '45_ProjectionProjectsAutoPull',
    '46_RepairAutomaticSettlementTimestamps',
    '47_ProjectionProjectIcon',
    '48_ProjectionThreadBranchPullRequest',
    '49_ProjectionThreadsActiveOrderKey',
    '50_ProjectionThreadPullRequests',
    '51_ProjectionThreadMessageContext',
    '52_ProjectionThreadTitleState',
    '53_PullRequestFilesViewed',
    '54_ProjectionThreadsAutoSettleDisabledAt',
    '55_OrchestrationV2',
    '56_RemoveRedundantProjectionIndexes',
    '57_ScheduledTaskWebhooks',
    '58_WebhookRelayDeliveries',
    '59_McpAppModelContext',
    '60_ThreadSnapshotWindowIndexes',
    '61_PullRequestReviewGuides',
    '62_ThreadFailureLookupIndex',
    '63_DropUnusedV1Projections',
    '64_CanonicalizeThreadPullRequestLinks',
    '65_CodexUsageNativeTurnIndex',
    '66_RepairClientSettlementTimestamps',
    '67_WebhookDedupe',
    '68_ShellStopRequestIndex',
    '69_ThreadMessageSearch'
  ]
}

stdout | src/orchestration-v2/SelectionRestart.integration.test.ts > preserves native history only for compatible account switches (pooled)
[02:34:46.493] INFO (#13579): Migrations ran successfully {
  migrations: [
    '1_OrchestrationEvents',
    '2_OrchestrationCommandReceipts',
    '3_CheckpointDiffBlobs',
    '4_ProviderSessionRuntime',
    '5_Projections',
    '6_ProjectionThreadSessionRuntimeModeColumns',
    '7_ProjectionThreadMessageAttachments',
    '8_ProjectionThreadActivitySequence',
    '9_ProviderSessionRuntimeMode',
    '10_ProjectionThreadsRuntimeMode',
    '11_OrchestrationThreadCreatedRuntimeMode',
    '12_ProjectionThreadsInteractionMode',
    '13_ProjectionThreadProposedPlans',
    '14_ProjectionThreadProposedPlanImplementation',
    '15_ProjectionTurnsSourceProposedPlan',
    '16_CanonicalizeModelSelections',
    '17_ProjectionThreadsArchivedAt',
    '18_ProjectionThreadsArchivedAtIndex',
    '19_ProjectionSnapshotLookupIndexes',
    '20_AuthAccessManagement',
    '21_AuthSessionClientMetadata',
    '22_AuthSessionLastConnectedAt',
    '23_ProjectionThreadShellSummary',
    '24_BackfillProjectionThreadShellSummary',
    '25_CleanupInvalidProjectionPendingApprovals',
    '26_CanonicalizeModelSelectionOptions',
    '27_ProviderSessionRuntimeInstanceId',
    '28_ProjectionThreadSessionInstanceId',
    '29_ProjectionThreadDetailOrderingIndexes',
    '30_ProjectionThreadShellArchiveIndexes',
    '31_AuthAuthorizationScopes',
    '32_AuthPairingProofKeyThumbprint',
    '33_ProjectionThreadsSettled',
    '34_ProjectionThreadsSnoozed',
    '35_ProjectionThreadTitleRegeneration',
    '36_ProjectionThreadsPinned',
    '37_ProjectionTurnsKeysetIndex',
    '38_ProjectionThreadsPinOrderKey',
    '39_ProjectionProjectsDefaultThreadEnvMode',
    '40_ProjectionProjectFaviconPath',
    '41_AuthSessionClientConnection',
    '42_ProjectionThreadLinkedPullRequest',
    '43_ProjectionThreadsUnsettledAt',
    '44_ClearAutomaticProjectModelDefaults',
    '45_ProjectionProjectsAutoPull',
    '46_RepairAutomaticSettlementTimestamps',
    '47_ProjectionProjectIcon',
    '48_ProjectionThreadBranchPullRequest',
    '49_ProjectionThreadsActiveOrderKey',
    '50_ProjectionThreadPullRequests',
    '51_ProjectionThreadMessageContext',
    '52_ProjectionThreadTitleState',
    '53_PullRequestFilesViewed',
    '54_ProjectionThreadsAutoSettleDisabledAt',
    '55_OrchestrationV2',
    '56_RemoveRedundantProjectionIndexes',
    '57_ScheduledTaskWebhooks',
    '58_WebhookRelayDeliveries',
    '59_McpAppModelContext',
    '60_ThreadSnapshotWindowIndexes',
    '61_PullRequestReviewGuides',
    '62_ThreadFailureLookupIndex',
    '63_DropUnusedV1Projections',
    '64_CanonicalizeThreadPullRequestLinks',
    '65_CodexUsageNativeTurnIndex',
    '66_RepairClientSettlementTimestamps',
    '67_WebhookDedupe',
    '68_ShellStopRequestIndex',
    '69_ThreadMessageSearch'
  ]
}

stdout | src/orchestration-v2/SelectionRestart.integration.test.ts > preserves native history only for compatible account switches (separate-home)
[02:34:46.771] INFO (#16349): Migrations ran successfully {
  migrations: [
    '1_OrchestrationEvents',
    '2_OrchestrationCommandReceipts',
    '3_CheckpointDiffBlobs',
    '4_ProviderSessionRuntime',
    '5_Projections',
    '6_ProjectionThreadSessionRuntimeModeColumns',
    '7_ProjectionThreadMessageAttachments',
    '8_ProjectionThreadActivitySequence',
    '9_ProviderSessionRuntimeMode',
    '10_ProjectionThreadsRuntimeMode',
    '11_OrchestrationThreadCreatedRuntimeMode',
    '12_ProjectionThreadsInteractionMode',
    '13_ProjectionThreadProposedPlans',
    '14_ProjectionThreadProposedPlanImplementation',
    '15_ProjectionTurnsSourceProposedPlan',
    '16_CanonicalizeModelSelections',
    '17_ProjectionThreadsArchivedAt',
    '18_ProjectionThreadsArchivedAtIndex',
    '19_ProjectionSnapshotLookupIndexes',
    '20_AuthAccessManagement',
    '21_AuthSessionClientMetadata',
    '22_AuthSessionLastConnectedAt',
    '23_ProjectionThreadShellSummary',
    '24_BackfillProjectionThreadShellSummary',
    '25_CleanupInvalidProjectionPendingApprovals',
    '26_CanonicalizeModelSelectionOptions',
    '27_ProviderSessionRuntimeInstanceId',
    '28_ProjectionThreadSessionInstanceId',
    '29_ProjectionThreadDetailOrderingIndexes',
    '30_ProjectionThreadShellArchiveIndexes',
    '31_AuthAuthorizationScopes',
    '32_AuthPairingProofKeyThumbprint',
    '33_ProjectionThreadsSettled',
    '34_ProjectionThreadsSnoozed',
    '35_ProjectionThreadTitleRegeneration',
    '36_ProjectionThreadsPinned',
    '37_ProjectionTurnsKeysetIndex',
    '38_ProjectionThreadsPinOrderKey',
    '39_ProjectionProjectsDefaultThreadEnvMode',
    '40_ProjectionProjectFaviconPath',
    '41_AuthSessionClientConnection',
    '42_ProjectionThreadLinkedPullRequest',
    '43_ProjectionThreadsUnsettledAt',
    '44_ClearAutomaticProjectModelDefaults',
    '45_ProjectionProjectsAutoPull',
    '46_RepairAutomaticSettlementTimestamps',
    '47_ProjectionProjectIcon',
    '48_ProjectionThreadBranchPullRequest',
    '49_ProjectionThreadsActiveOrderKey',
    '50_ProjectionThreadPullRequests',
    '51_ProjectionThreadMessageContext',
    '52_ProjectionThreadTitleState',
    '53_PullRequestFilesViewed',
    '54_ProjectionThreadsAutoSettleDisabledAt',
    '55_OrchestrationV2',
    '56_RemoveRedundantProjectionIndexes',
    '57_ScheduledTaskWebhooks',
    '58_WebhookRelayDeliveries',
    '59_McpAppModelContext',
    '60_ThreadSnapshotWindowIndexes',
    '61_PullRequestReviewGuides',
    '62_ThreadFailureLookupIndex',
    '63_DropUnusedV1Projections',
    '64_CanonicalizeThreadPullRequestLinks',
    '65_CodexUsageNativeTurnIndex',
    '66_RepairClientSettlementTimestamps',
    '67_WebhookDedupe',
    '68_ShellStopRequestIndex',
    '69_ThreadMessageSearch'
  ]
}

 โœ“ src/orchestration-v2/SelectionRestart.integration.test.ts (7 tests) 1968ms
   โœ“ retries a failed selection restart session open before completing 375ms
   โœ“ preserves native history only for compatible account switches (idle) 319ms
 โœ“ src/orchestration-v2/ProviderContinuationService.test.ts (11 tests) 20ms
 โœ“ src/checkpointing/CheckpointStore.test.ts (9 tests) 853ms
 โœ“ src/orchestration-v2/ClaudeAutomaticDelivery.integration.test.ts (4 tests) 944ms
   โœ“ delivers child completion with Claude's native pending-tool cancellation behavior 331ms
stdout | integration/transferBudgetV2.integration.test.ts > reports V2 thread HTTP and WebSocket transfer budgets
[02:34:52.371] INFO (#1): Migrations ran successfully {
  migrations: [
    '1_OrchestrationEvents',
    '2_OrchestrationCommandReceipts',
    '3_CheckpointDiffBlobs',
    '4_ProviderSessionRuntime',
    '5_Projections',
    '6_ProjectionThreadSessionRuntimeModeColumns',
    '7_ProjectionThreadMessageAttachments',
    '8_ProjectionThreadActivitySequence',
    '9_ProviderSessionRuntimeMode',
    '10_ProjectionThreadsRuntimeMode',
    '11_OrchestrationThreadCreatedRuntimeMode',
    '12_ProjectionThreadsInteractionMode',
    '13_ProjectionThreadProposedPlans',
    '14_ProjectionThreadProposedPlanImplementation',
    '15_ProjectionTurnsSourceProposedPlan',
    '16_CanonicalizeModelSelections',
    '17_ProjectionThreadsArchivedAt',
    '18_ProjectionThreadsArchivedAtIndex',
    '19_ProjectionSnapshotLookupIndexes',
    '20_AuthAccessManagement',
    '21_AuthSessionClientMetadata',
    '22_AuthSessionLastConnectedAt',
    '23_ProjectionThreadShellSummary',
    '24_BackfillProjectionThreadShellSummary',
    '25_CleanupInvalidProjectionPendingApprovals',
    '26_CanonicalizeModelSelectionOptions',
    '27_ProviderSessionRuntimeInstanceId',
    '28_ProjectionThreadSessionInstanceId',
    '29_ProjectionThreadDetailOrderingIndexes',
    '30_ProjectionThreadShellArchiveIndexes',
    '31_AuthAuthorizationScopes',
    '32_AuthPairingProofKeyThumbprint',
    '33_ProjectionThreadsSettled',
    '34_ProjectionThreadsSnoozed',
    '35_ProjectionThreadTitleRegeneration',
    '36_ProjectionThreadsPinned',
    '37_ProjectionTurnsKeysetIndex',
    '38_ProjectionThreadsPinOrderKey',
    '39_ProjectionProjectsDefaultThreadEnvMode',
    '40_ProjectionProjectFaviconPath',
    '41_AuthSessionClientConnection',
    '42_ProjectionThreadLinkedPullRequest',
    '43_ProjectionThreadsUnsettledAt',
    '44_ClearAutomaticProjectModelDefaults',
    '45_ProjectionProjectsAutoPull',
    '46_RepairAutomaticSettlementTimestamps',
    '47_ProjectionProjectIcon',
    '48_ProjectionThreadBranchPullRequest',
    '49_ProjectionThreadsActiveOrderKey',
    '50_ProjectionThreadPullRequests',
    '51_ProjectionThreadMessageContext',
    '52_ProjectionThreadTitleState',
    '53_PullRequestFilesViewed',
    '54_ProjectionThreadsAutoSettleDisabledAt',
    '55_OrchestrationV2',
    '56_RemoveRedundantProjectionIndexes',
    '57_ScheduledTaskWebhooks',
    '58_WebhookRelayDeliveries',
    '59_McpAppModelContext',
    '60_ThreadSnapshotWindowIndexes',
    '61_PullRequestReviewGuides',
    '62_ThreadFailureLookupIndex',
    '63_DropUnusedV1Projections',
    '64_CanonicalizeThreadPullRequestLinks',
    '65_CodexUsageNativeTurnIndex',
    '66_RepairClientSettlementTimestamps',
    '67_WebhookDedupe',
    '68_ShellStopRequestIndex',
    '69_ThreadMessageSearch'
  ]
}

stdout | integration/transferBudgetV2.integration.test.ts > reports V2 thread HTTP and WebSocket transfer budgets
[02:34:52.536] INFO (#349) http.span=21ms: Sent HTTP response {
  'http.method': 'GET',
  'http.url': '/api/orchestration/threads/transfer-budget-thread',
  'http.status': 200
}

stdout | integration/transferBudgetV2.integration.test.ts > reports V2 thread HTTP and WebSocket transfer budgets
[02:34:52.544] INFO (#367) http.span=3ms: Sent HTTP response {
  'http.method': 'GET',
  'http.url': '/api/orchestration/shell',
  'http.status': 200
}

stdout | integration/transferBudgetV2.integration.test.ts > reports V2 thread HTTP and WebSocket transfer budgets
[02:34:52.699] INFO (#405) http.span=148ms: Sent HTTP response { 'http.method': 'GET', 'http.url': '/ws', 'http.status': 101 }

stdout | integration/transferBudgetV2.integration.test.ts > reports V2 thread HTTP and WebSocket transfer budgets
[02:34:52.851] INFO (#714) http.span=7ms: Sent HTTP response {
  'http.method': 'GET',
  'http.url': '/api/orchestration/threads/transfer-budget-long-turn/bounded',
  'http.status': 200
}

stdout | integration/transferBudgetV2.integration.test.ts > reports V2 thread HTTP and WebSocket transfer budgets
[02:34:52.862] INFO (#729) http.span=7ms: Sent HTTP response {
  'http.method': 'GET',
  'http.url': '/api/orchestration/threads/transfer-budget-long-turn/history',
  'http.status': 200
}

stdout | integration/transferBudgetV2.integration.test.ts > reports V2 thread HTTP and WebSocket transfer budgets
[02:34:52.868] INFO (#641) http.span=194ms: Sent HTTP response { 'http.method': 'GET', 'http.url': '/ws', 'http.status': 101 }

stdout | integration/transferBudgetV2.integration.test.ts > reports V2 thread HTTP and WebSocket transfer budgets
[02:34:52.869] INFO (#629) http.span=197ms: InterruptError: All fibers interrupted without error {
  [cause]: InterruptCause: The fiber was interrupted by:
      at fiber (#773)
} { 'http.method': 'GET', 'http.url': '/ws', 'http.status': 503 }
[02:34:52.870] INFO (#395) http.span=320ms: InterruptError: All fibers interrupted without error {
  [cause]: InterruptCause: The fiber was interrupted by:
      at fiber (#774)
} { 'http.method': 'GET', 'http.url': '/ws', 'http.status': 503 }
[02:34:52.870] INFO (#384) http.span=322ms: InterruptError: All fibers interrupted without error {
  [cause]: InterruptCause: The fiber was interrupted by:
      at fiber (#775)
} { 'http.method': 'GET', 'http.url': '/ws', 'http.status': 503 }

stdout | integration/transferBudgetV2.integration.test.ts > reports V2 thread HTTP and WebSocket transfer budgets
[02:34:52.895] INFO (#1): Migrations ran successfully {
  migrations: [
    '1_OrchestrationEvents',
    '2_OrchestrationCommandReceipts',
    '3_CheckpointDiffBlobs',
    '4_ProviderSessionRuntime',
    '5_Projections',
    '6_ProjectionThreadSessionRuntimeModeColumns',
    '7_ProjectionThreadMessageAttachments',
    '8_ProjectionThreadActivitySequence',
    '9_ProviderSessionRuntimeMode',
    '10_ProjectionThreadsRuntimeMode',
    '11_OrchestrationThreadCreatedRuntimeMode',
    '12_ProjectionThreadsInteractionMode',
    '13_ProjectionThreadProposedPlans',
    '14_ProjectionThreadProposedPlanImplementation',
    '15_ProjectionTurnsSourceProposedPlan',
    '16_CanonicalizeModelSelections',
    '17_ProjectionThreadsArchivedAt',
    '18_ProjectionThreadsArchivedAtIndex',
    '19_ProjectionSnapshotLookupIndexes',
    '20_AuthAccessManagement',
    '21_AuthSessionClientMetadata',
    '22_AuthSessionLastConnectedAt',
    '23_ProjectionThreadShellSummary',
    '24_BackfillProjectionThreadShellSummary',
    '25_CleanupInvalidProjectionPendingApprovals',
    '26_CanonicalizeModelSelectionOptions',
    '27_ProviderSessionRuntimeInstanceId',
    '28_ProjectionThreadSessionInstanceId',
    '29_ProjectionThreadDetailOrderingIndexes',
    '30_ProjectionThreadShellArchiveIndexes',
    '31_AuthAuthorizationScopes',
    '32_AuthPairingProofKeyThumbprint',
    '33_ProjectionThreadsSettled',
    '34_ProjectionThreadsSnoozed',
    '35_ProjectionThreadTitleRegeneration',
    '36_ProjectionThreadsPinned',
    '37_ProjectionTurnsKeysetIndex',
    '38_ProjectionThreadsPinOrderKey',
    '39_ProjectionProjectsDefaultThreadEnvMode',
    '40_ProjectionProjectFaviconPath',
    '41_AuthSessionClientConnection',
    '42_ProjectionThreadLinkedPullRequest',
    '43_ProjectionThreadsUnsettledAt',
    '44_ClearAutomaticProjectModelDefaults',
    '45_ProjectionProjectsAutoPull',
    '46_RepairAutomaticSettlementTimestamps',
    '47_ProjectionProjectIcon',
    '48_ProjectionThreadBranchPullRequest',
    '49_ProjectionThreadsActiveOrderKey',
    '50_ProjectionThreadPullRequests',
    '51_ProjectionThreadMessageContext',
    '52_ProjectionThreadTitleState',
    '53_PullRequestFilesViewed',
    '54_ProjectionThreadsAutoSettleDisabledAt',
    '55_OrchestrationV2',
    '56_RemoveRedundantProjectionIndexes',
    '57_ScheduledTaskWebhooks',
    '58_WebhookRelayDeliveries',
    '59_McpAppModelContext',
    '60_ThreadSnapshotWindowIndexes',
    '61_PullRequestReviewGuides',
    '62_ThreadFailureLookupIndex',
    '63_DropUnusedV1Projections',
    '64_CanonicalizeThreadPullRequestLinks',
    '65_CodexUsageNativeTurnIndex',
    '66_RepairClientSettlementTimestamps',
    '67_WebhookDedupe',
    '68_ShellStopRequestIndex',
    '69_ThreadMessageSearch'
  ]
}

stdout | integration/transferBudgetV2.integration.test.ts > reports V2 thread HTTP and WebSocket transfer budgets
[02:34:53.039] INFO (#1137) http.span=10ms: Sent HTTP response {
  'http.method': 'GET',
  'http.url': '/api/orchestration/threads/transfer-budget-thread',
  'http.status': 200
}

stdout | integration/transferBudgetV2.integration.test.ts > reports V2 thread HTTP and WebSocket transfer budgets
[02:34:53.043] INFO (#1155) http.span=1ms: Sent HTTP response {
  'http.method': 'GET',
  'http.url': '/api/orchestration/shell',
  'http.status': 200
}

stdout | integration/transferBudgetV2.integration.test.ts > reports V2 thread HTTP and WebSocket transfer budgets
[02:34:53.170] INFO (#1193) http.span=123ms: Sent HTTP response { 'http.method': 'GET', 'http.url': '/ws', 'http.status': 101 }

stdout | integration/transferBudgetV2.integration.test.ts > reports V2 thread HTTP and WebSocket transfer budgets
[02:34:53.307] INFO (#1504) http.span=6ms: Sent HTTP response {
  'http.method': 'GET',
  'http.url': '/api/orchestration/threads/transfer-budget-long-turn/bounded',
  'http.status': 200
}

stdout | integration/transferBudgetV2.integration.test.ts > reports V2 thread HTTP and WebSocket transfer budgets
[02:34:53.316] INFO (#1519) http.span=5ms: Sent HTTP response {
  'http.method': 'GET',
  'http.url': '/api/orchestration/threads/transfer-budget-long-turn/history',
  'http.status': 200
}

stdout | integration/transferBudgetV2.integration.test.ts > reports V2 thread HTTP and WebSocket transfer budgets
[02:34:53.321] INFO (#1431) http.span=173ms: Sent HTTP response { 'http.method': 'GET', 'http.url': '/ws', 'http.status': 101 }

stdout | integration/transferBudgetV2.integration.test.ts > reports V2 thread HTTP and WebSocket transfer budgets
[02:34:53.322] INFO (#1419) http.span=175ms: InterruptError: All fibers interrupted without error {
  [cause]: InterruptCause: The fiber was interrupted by:
      at fiber (#1562)
} { 'http.method': 'GET', 'http.url': '/ws', 'http.status': 503 }
[02:34:53.322] INFO (#1183) http.span=276ms: InterruptError: All fibers interrupted without error {
  [cause]: InterruptCause: The fiber was interrupted by:
      at fiber (#1563)
} { 'http.method': 'GET', 'http.url': '/ws', 'http.status': 503 }
[02:34:53.322] INFO (#1172) http.span=277ms: InterruptError: All fibers interrupted without error {
  [cause]: InterruptCause: The fiber was interrupted by:
      at fiber (#1564)
} { 'http.method': 'GET', 'http.url': '/ws', 'http.status': 503 }

stdout | integration/transferBudgetV2.integration.test.ts > reports V2 thread HTTP and WebSocket transfer budgets
[02:34:53.325] INFO (#1): # T3 Code thread transfer budget

Wire values are thread data bytes read from local HTTP and WebSocket sockets. HTTP includes response headers; WebSocket measurement starts after the resumed thread subscription synchronizes. TCP/IP, TLS framing, and the WebSocket upgrade are excluded. WebSocket permessage-deflate is negotiated.
The measured turn is observed on three sockets at once: one with only the thread subscription (the capped rows), one with only the shell subscription, and a second client holding both. Server egress is the sum of the three. After the turn the second client disconnects and new sockets resubscribe from the cursor it held before the turn, which is the cursor a backgrounded phone would hold. SQL statements are the SQL client's per-statement spans, counted across V2 persistence and the HTTP/WebSocket handlers.
Scenario: 10 historical turns with 5 command tools and one retained 878.9 KiB (900,000 B) MCP result each, followed by one measured turn with 20 command tools and a retained 1.05 MiB (1,100,000 B) MCP result. Synthetic V2 domain events exercise persistence, wire projection, and production HTTP/subscription handlers; this does not measure provider adapter ingestion. Payloads contain no user data.
The long-turn rows open a second thread through the compact bounded snapshot web and mobile use, then load one older page. Its last user turn holds 900 rows of reasoning, commands, file changes, MCP calls, progress messages, checkpoints, and subagents.

| Provider | Total thread wire | Budget | Result |
| --- | ---: | ---: | --- |
| codex | 5.0 KiB (5,098 B) | 6.8 KiB (7,000 B) | PASS |
| claudeAgent | 5.0 KiB (5,110 B) | 6.8 KiB (7,000 B) | PASS |

## Detailed measurements

| Provider | Phase | Metric | Observed | Budget | Result |
| --- | --- | --- | ---: | ---: | --- |
| codex | thread snapshot | HTTP wire | 3.8 KiB (3,879 B) | 4.9 KiB (5,000 B) | PASS |
| codex | measured turn | WebSocket wire | 1.2 KiB (1,219 B) | 2.0 KiB (2,000 B) | PASS |
| codex | measured turn | WebSocket decoded | 20.9 KiB (21,360 B) | 29.3 KiB (30,000 B) | PASS |
| codex | measured turn | WebSocket messages | 2 | 8 | PASS |
| codex | shell snapshot | HTTP wire | 859 B | none | INFO |
| codex | measured turn, shell | WebSocket wire | 657 B | none | INFO |
| codex | measured turn, shell | WebSocket decoded | 1.7 KiB (1,703 B) | none | INFO |
| codex | measured turn, shell | WebSocket messages | 1 | none | INFO |
| codex | measured turn, second client | WebSocket wire | 1.7 KiB (1,724 B) | none | INFO |
| codex | measured turn, second client | WebSocket decoded | 22.5 KiB (23,063 B) | none | INFO |
| codex | measured turn, second client | WebSocket messages | 3 | none | INFO |
| codex | measured turn | server egress wire | 3.5 KiB (3,600 B) | none | INFO |
| codex | measured turn | SQL statements | 20 | none | INFO |
| codex | reconnect, thread (snapshot) | WebSocket wire | 4.1 KiB (4,222 B) | none | INFO |
| codex | reconnect, thread (snapshot) | WebSocket decoded | 80.5 KiB (82,454 B) | none | INFO |
| codex | reconnect, thread (snapshot) | WebSocket messages | 2 | none | INFO |
| codex | reconnect, shell (replay) | WebSocket wire | 886 B | none | INFO |
| codex | reconnect, shell (replay) | WebSocket decoded | 1.7 KiB (1,768 B) | none | INFO |
| codex | reconnect, shell (replay) | WebSocket messages | 2 | none | INFO |
| codex | reconnect | SQL statements | 32 | none | INFO |
| codex | long-turn cold open | HTTP wire | 12.7 KiB (13,044 B) | none | INFO |
| codex | long-turn cold open | HTTP decoded | 89.8 KiB (91,953 B) | 117.2 KiB (120,000 B) | PASS |
| codex | long-turn cold open | rows | 75 | 75 | PASS |
| codex | long-turn history page | HTTP wire | 11.4 KiB (11,665 B) | none | INFO |
| codex | long-turn history page | HTTP decoded | 83.7 KiB (85,742 B) | 117.2 KiB (120,000 B) | PASS |
| codex | long-turn history page | rows | 75 | 75 | PASS |
| claudeAgent | thread snapshot | HTTP wire | 3.8 KiB (3,889 B) | 4.9 KiB (5,000 B) | PASS |
| claudeAgent | measured turn | WebSocket wire | 1.2 KiB (1,221 B) | 2.0 KiB (2,000 B) | PASS |
| claudeAgent | measured turn | WebSocket decoded | 21.2 KiB (21,710 B) | 29.3 KiB (30,000 B) | PASS |
| claudeAgent | measured turn | WebSocket messages | 2 | 8 | PASS |
| claudeAgent | shell snapshot | HTTP wire | 863 B | none | INFO |
| claudeAgent | measured turn, shell | WebSocket wire | 662 B | none | INFO |
| claudeAgent | measured turn, shell | WebSocket decoded | 1.7 KiB (1,725 B) | none | INFO |
| claudeAgent | measured turn, shell | WebSocket messages | 1 | none | INFO |
| claudeAgent | measured turn, second client | WebSocket wire | 1.7 KiB (1,732 B) | none | INFO |
| claudeAgent | measured turn, second client | WebSocket decoded | 22.9 KiB (23,435 B) | none | INFO |
| claudeAgent | measured turn, second client | WebSocket messages | 3 | none | INFO |
| claudeAgent | measured turn | server egress wire | 3.5 KiB (3,615 B) | none | INFO |
| claudeAgent | measured turn | SQL statements | 20 | none | INFO |
| claudeAgent | reconnect, thread (snapshot) | WebSocket wire | 4.1 KiB (4,230 B) | none | INFO |
| claudeAgent | reconnect, thread (snapshot) | WebSocket decoded | 80.8 KiB (82,720 B) | none | INFO |
| claudeAgent | reconnect, thread (snapshot) | WebSocket messages | 2 | none | INFO |
| claudeAgent | reconnect, shell (replay) | WebSocket wire | 890 B | none | INFO |
| claudeAgent | reconnect, shell (replay) | WebSocket decoded | 1.8 KiB (1,792 B) | none | INFO |
| claudeAgent | reconnect, shell (replay) | WebSocket messages | 2 | none | INFO |
| claudeAgent | reconnect | SQL statements | 32 | none | INFO |
| claudeAgent | long-turn cold open | HTTP wire | 12.8 KiB (13,061 B) | none | INFO |
| claudeAgent | long-turn cold open | HTTP decoded | 89.9 KiB (92,009 B) | 117.2 KiB (120,000 B) | PASS |
| claudeAgent | long-turn cold open | rows | 75 | 75 | PASS |
| claudeAgent | long-turn history page | HTTP wire | 11.4 KiB (11,695 B) | none | INFO |
| claudeAgent | long-turn history page | HTTP decoded | 83.7 KiB (85,754 B) | 117.2 KiB (120,000 B) | PASS |
| claudeAgent | long-turn history page | rows | 75 | 75 | PASS |

## Compression diagnostics

- codex: thread snapshot 108.5 KiB (111,145 B) decoded to 3.6 KiB (3,703 B) gzip.
- codex: shell snapshot 1.6 KiB (1,680 B) decoded to 684 B gzip.
- claudeAgent: thread snapshot 108.8 KiB (111,447 B) decoded to 3.6 KiB (3,713 B) gzip.
- claudeAgent: shell snapshot 1.7 KiB (1,702 B) decoded to 688 B gzip.


 โœ“ integration/transferBudgetV2.integration.test.ts (1 test) 991ms
   โœ“ reports V2 thread HTTP and WebSocket transfer budgets 990ms
 โœ“ src/resourceTelemetry/Model.test.ts (12 tests) 6ms
 โœ“ src/provider/acp/AntigravityProtocol.test.ts (36 tests) 9ms
 โœ“ src/orchestration-v2/ThreadLiveEventCoalescer.test.ts (12 tests) 21ms
 โœ“ src/mcp/TaskCancelNativeSubagent.integration.test.ts (1 test) 355ms
   โœ“ task_cancel ends a delegated child's background native subagent 354ms
 โœ“ src/serverRuntimeStartup.test.ts (8 tests) 15ms
 โœ“ src/mcp/AcpMcpStdioBridge.test.ts (8 tests) 17ms
 โœ“ src/telemetry/AnalyticsService.test.ts (3 tests) 69ms
 โœ“ src/project/ProjectEnrichmentService.test.ts (4 tests) 12ms
 โœ“ src/cloud/CloudLink.test.ts (6 tests) 26ms
 โœ“ src/provider/codexUsageLimits.test.ts (15 tests) 4ms
 โœ“ src/orchestration-v2/http.test.ts (1 test) 1631ms
   โœ“ exports full history with size, scope, and missing-thread checks 1630ms
 โœ“ src/observability/OtlpEndpointCheck.test.ts (5 tests) 32ms
 โœ“ src/persistence/OrchestrationEventStore.sequence.test.ts (2 tests) 132ms
 โœ“ src/provider/ClaudeModelCatalog.test.ts (4 tests) 3ms
 โœ“ src/attachmentStore.test.ts (10 tests) 6ms
 โœ“ src/usage/usageAggregation.test.ts (11 tests) 12ms
 โœ“ src/orchestration-v2/Adapters/claudeWorkflowProgress.test.ts (14 tests) 4ms
 โœ“ src/orchestration-v2/ContextHandoffService.test.ts (3 tests) 7ms
 โœ“ src/persistence/Migrations.test.ts (7 tests) 144ms
 โœ“ src/cloud/relayResponse.test.ts (8 tests) 12ms
 โœ“ src/orchestration-v2/RunFinalizationService.test.ts (5 tests) 6ms
 โœ“ src/bootstrap.test.ts (3 tests) 10ms
 โœ“ src/preview/PreviewBrowserHost.test.ts (2 tests) 7ms
 โœ“ src/device/DeviceHubProxy.stream.test.ts (1 test) 29ms
 โœ“ src/auth/replayMarkers.test.ts (1 test) 15ms
 โœ“ src/scheduledTasks/webhookFilter.test.ts (4 tests) 2ms
 โœ“ src/provider/Drivers/claudeUsage.test.ts (3 tests) 2ms
 โœ“ src/provider/CodexThreadRevert.test.ts (2 tests) 11ms
 โœ“ src/orchestration-v2/testkit/OpenCodeReplayFixtures.integration.test.ts (22 tests) 5873ms
   โœ“ OpenCode replay fixtures (22)
     โœ“ runs simple/opencode through OrchestratorV2 using deterministic replay 330ms
     โœ“ runs opencode2_inbox/opencode through OrchestratorV2 using deterministic replay 351ms
     โœ“ runs opencode2_revert/opencode through OrchestratorV2 using deterministic replay 324ms
     โœ“ runs opencode2_permission/opencode through OrchestratorV2 using deterministic replay 303ms
     โœ“ runs opencode2_background/opencode through OrchestratorV2 using deterministic replay 333ms
     โœ“ runs opencode2_compaction/opencode through OrchestratorV2 using deterministic replay 411ms
     โœ“ runs opencode2_resume_after_restart/opencode through OrchestratorV2 using deterministic replay 314ms
     โœ“ runs opencode2_background when session.execution.started.3 is an execution start this build cannot decode 328ms
 โœ“ src/cli/triagePrompt.test.ts (3 tests) 2ms
 โœ“ src/persistence/DatabaseStorage.test.ts (1 test) 52ms
 โœ“ src/workspace/WorkspacePaths.test.ts (2 tests) 7ms
 โœ“ src/device/sshDeviceScript.test.ts (2 tests) 8ms
 โœ“ src/persistence/Migrations/049_ProjectionThreadsActiveOrderKey.test.ts (1 test) 22ms
 โœ“ src/orchestration-v2/QueuedRunOrder.test.ts (1 test) 2ms
 โœ“ src/mcp/toolkits/device/handlers.test.ts (2 tests) 2ms
 โœ“ src/guest/guestView.test.ts (1 test) 2ms
 โœ“ src/orchestration-v2/testkit/CursorReplayFixtures.integration.test.ts (11 tests) 2965ms
   โœ“ Cursor replay fixtures (11)
     โœ“ runs simple/cursor through OrchestratorV2 using deterministic replay 367ms
     โœ“ runs subagent/cursor through OrchestratorV2 using deterministic replay 313ms
     โœ“ runs multi_turn/cursor through OrchestratorV2 using deterministic replay 300ms
     โœ“ runs todo_list/cursor through OrchestratorV2 using deterministic replay 304ms
     โœ“ runs proposed_plan/cursor through OrchestratorV2 using deterministic replay 300ms
 โœ“ src/provider/ClaudeCapabilitiesProbe.test.ts (1 test) 1ms

 Test Files  52 passed (52)
      Tests  545 passed (545)
   Start at  02:34:28
   Duration  51.96s (tests 49%, import 39%, transform 9%, setup 3%)

     Import  1363 modules were evaluated 16269 times ยท 19.24s total, 39% of tracked time
             ~17.63s faster with isolate: false โ€” shared modules are evaluated once per worker instead of once per file
             learn more: https://vitest.dev/guide/improving-performance#test-isolation


โ–ธ Run if test -f "/home/runner/_work/_temp/thread-transfer-result.json"; then
if test -f "/home/runner/_work/_temp/thread-transfer-result.json"; then
  echo "present=true" >> "$GITHUB_OUTPUT"
else
  echo "present=false" >> "$GITHUB_OUTPUT"
fi
shell: /usr/bin/bash -e {0}
env:
  BLACKSMITH_RUNNER_MESSAGE_WAIT_MS: 167
  BLACKSMITH_RUNNER_ACQUIRE_JOB_MS: 387
  GITHUB_REPO_NAME: pingdotgg/t3code
โ–ธ Run if test -f "/home/runner/_work/_temp/t3code-transfer-budget.md"; then
if test -f "/home/runner/_work/_temp/t3code-transfer-budget.md"; then
  tee -a "$GITHUB_STEP_SUMMARY" < "/home/runner/_work/_temp/t3code-transfer-budget.md"
else
  echo "Transfer budget report was not produced." >> "$GITHUB_STEP_SUMMARY"
fi
shell: /usr/bin/bash -e {0}
env:
  BLACKSMITH_RUNNER_MESSAGE_WAIT_MS: 167
  BLACKSMITH_RUNNER_ACQUIRE_JOB_MS: 387
  GITHUB_REPO_NAME: pingdotgg/t3code
# T3 Code thread transfer budget

Wire values are thread data bytes read from local HTTP and WebSocket sockets. HTTP includes response headers; WebSocket measurement starts after the resumed thread subscription synchronizes. TCP/IP, TLS framing, and the WebSocket upgrade are excluded. WebSocket permessage-deflate is negotiated.
The measured turn is observed on three sockets at once: one with only the thread subscription (the capped rows), one with only the shell subscription, and a second client holding both. Server egress is the sum of the three. After the turn the second client disconnects and new sockets resubscribe from the cursor it held before the turn, which is the cursor a backgrounded phone would hold. SQL statements are the SQL client's per-statement spans, counted across V2 persistence and the HTTP/WebSocket handlers.
Scenario: 10 historical turns with 5 command tools and one retained 878.9 KiB (900,000 B) MCP result each, followed by one measured turn with 20 command tools and a retained 1.05 MiB (1,100,000 B) MCP result. Synthetic V2 domain events exercise persistence, wire projection, and production HTTP/subscription handlers; this does not measure provider adapter ingestion. Payloads contain no user data.
The long-turn rows open a second thread through the compact bounded snapshot web and mobile use, then load one older page. Its last user turn holds 900 rows of reasoning, commands, file changes, MCP calls, progress messages, checkpoints, and subagents.

| Provider | Total thread wire | Budget | Result |
| --- | ---: | ---: | --- |
| codex | 5.0 KiB (5,098 B) | 6.8 KiB (7,000 B) | PASS |
| claudeAgent | 5.0 KiB (5,110 B) | 6.8 KiB (7,000 B) | PASS |

## Detailed measurements

| Provider | Phase | Metric | Observed | Budget | Result |
| --- | --- | --- | ---: | ---: | --- |
| codex | thread snapshot | HTTP wire | 3.8 KiB (3,879 B) | 4.9 KiB (5,000 B) | PASS |
| codex | measured turn | WebSocket wire | 1.2 KiB (1,219 B) | 2.0 KiB (2,000 B) | PASS |
| codex | measured turn | WebSocket decoded | 20.9 KiB (21,360 B) | 29.3 KiB (30,000 B) | PASS |
| codex | measured turn | WebSocket messages | 2 | 8 | PASS |
| codex | shell snapshot | HTTP wire | 859 B | none | INFO |
| codex | measured turn, shell | WebSocket wire | 657 B | none | INFO |
| codex | measured turn, shell | WebSocket decoded | 1.7 KiB (1,703 B) | none | INFO |
| codex | measured turn, shell | WebSocket messages | 1 | none | INFO |
| codex | measured turn, second client | WebSocket wire | 1.7 KiB (1,724 B) | none | INFO |
| codex | measured turn, second client | WebSocket decoded | 22.5 KiB (23,063 B) | none | INFO |
| codex | measured turn, second client | WebSocket messages | 3 | none | INFO |
| codex | measured turn | server egress wire | 3.5 KiB (3,600 B) | none | INFO |
| codex | measured turn | SQL statements | 20 | none | INFO |
| codex | reconnect, thread (snapshot) | WebSocket wire | 4.1 KiB (4,222 B) | none | INFO |
| codex | reconnect, thread (snapshot) | WebSocket decoded | 80.5 KiB (82,454 B) | none | INFO |
| codex | reconnect, thread (snapshot) | WebSocket messages | 2 | none | INFO |
| codex | reconnect, shell (replay) | WebSocket wire | 886 B | none | INFO |
| codex | reconnect, shell (replay) | WebSocket decoded | 1.7 KiB (1,768 B) | none | INFO |
| codex | reconnect, shell (replay) | WebSocket messages | 2 | none | INFO |
| codex | reconnect | SQL statements | 32 | none | INFO |
| codex | long-turn cold open | HTTP wire | 12.7 KiB (13,044 B) | none | INFO |
| codex | long-turn cold open | HTTP decoded | 89.8 KiB (91,953 B) | 117.2 KiB (120,000 B) | PASS |
| codex | long-turn cold open | rows | 75 | 75 | PASS |
| codex | long-turn history page | HTTP wire | 11.4 KiB (11,665 B) | none | INFO |
| codex | long-turn history page | HTTP decoded | 83.7 KiB (85,742 B) | 117.2 KiB (120,000 B) | PASS |
| codex | long-turn history page | rows | 75 | 75 | PASS |
| claudeAgent | thread snapshot | HTTP wire | 3.8 KiB (3,889 B) | 4.9 KiB (5,000 B) | PASS |
| claudeAgent | measured turn | WebSocket wire | 1.2 KiB (1,221 B) | 2.0 KiB (2,000 B) | PASS |
| claudeAgent | measured turn | WebSocket decoded | 21.2 KiB (21,710 B) | 29.3 KiB (30,000 B) | PASS |
| claudeAgent | measured turn | WebSocket messages | 2 | 8 | PASS |
| claudeAgent | shell snapshot | HTTP wire | 863 B | none | INFO |
| claudeAgent | measured turn, shell | WebSocket wire | 662 B | none | INFO |
| claudeAgent | measured turn, shell | WebSocket decoded | 1.7 KiB (1,725 B) | none | INFO |
| claudeAgent | measured turn, shell | WebSocket messages | 1 | none | INFO |
| claudeAgent | measured turn, second client | WebSocket wire | 1.7 KiB (1,732 B) | none | INFO |
| claudeAgent | measured turn, second client | WebSocket decoded | 22.9 KiB (23,435 B) | none | INFO |
| claudeAgent | measured turn, second client | WebSocket messages | 3 | none | INFO |
| claudeAgent | measured turn | server egress wire | 3.5 KiB (3,615 B) | none | INFO |
| claudeAgent | measured turn | SQL statements | 20 | none | INFO |
| claudeAgent | reconnect, thread (snapshot) | WebSocket wire | 4.1 KiB (4,230 B) | none | INFO |
| claudeAgent | reconnect, thread (snapshot) | WebSocket decoded | 80.8 KiB (82,720 B) | none | INFO |
| claudeAgent | reconnect, thread (snapshot) | WebSocket messages | 2 | none | INFO |
| claudeAgent | reconnect, shell (replay) | WebSocket wire | 890 B | none | INFO |
| claudeAgent | reconnect, shell (replay) | WebSocket decoded | 1.8 KiB (1,792 B) | none | INFO |
| claudeAgent | reconnect, shell (replay) | WebSocket messages | 2 | none | INFO |
| claudeAgent | reconnect | SQL statements | 32 | none | INFO |
| claudeAgent | long-turn cold open | HTTP wire | 12.8 KiB (13,061 B) | none | INFO |
| claudeAgent | long-turn cold open | HTTP decoded | 89.9 KiB (92,009 B) | 117.2 KiB (120,000 B) | PASS |
| claudeAgent | long-turn cold open | rows | 75 | 75 | PASS |
| claudeAgent | long-turn history page | HTTP wire | 11.4 KiB (11,695 B) | none | INFO |
| claudeAgent | long-turn history page | HTTP decoded | 83.7 KiB (85,754 B) | 117.2 KiB (120,000 B) | PASS |
| claudeAgent | long-turn history page | rows | 75 | 75 | PASS |

## Compression diagnostics

- codex: thread snapshot 108.5 KiB (111,145 B) decoded to 3.6 KiB (3,703 B) gzip.
- codex: shell snapshot 1.6 KiB (1,680 B) decoded to 684 B gzip.
- claudeAgent: thread snapshot 108.8 KiB (111,447 B) decoded to 3.6 KiB (3,713 B) gzip.
- claudeAgent: shell snapshot 1.7 KiB (1,702 B) decoded to 688 B gzip.
โ–ธ Run actions/upload-artifact@v7
with:
  name: thread-transfer-results
  path: /home/runner/_work/_temp/thread-transfer-result.json
  if-no-files-found: ignore
  retention-days: 30
  compression-level: 6
  overwrite: false
  include-hidden-files: false
  archive: true
env:
  BLACKSMITH_RUNNER_MESSAGE_WAIT_MS: 167
  BLACKSMITH_RUNNER_ACQUIRE_JOB_MS: 387
  GITHUB_REPO_NAME: pingdotgg/t3code
With the provided path, there will be 1 file uploaded
Artifact name is valid!
Root directory input is valid!
Uploading artifact: thread-transfer-results.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 504
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is 72f7f049127d79aa347e6b3f878ba4ae2163b9826cab224c22a8f89d3a9f7c26
Finalizing artifact upload
Artifact thread-transfer-results successfully finalized. Artifact ID 12584027626
Artifact thread-transfer-results has been successfully uploaded! Final size is 504 bytes. Artifact ID is 12584027626
Artifact download URL: https://github.com/pingdotgg/t3code/actions/runs/40154931361/artifacts/12584027626
Post job cleanup.
Cache hit occurred on the primary key playwright-chromium-shell-Linux-X64-1.60.0, not saving cache.
Post job cleanup.
##[start-action display=Cache full pnpm store;id=__d67e8bdd-4eaa-44cf-8c6b-60ffceffa157.__actions_cache]
Post job cleanup.
Cache hit occurred on the primary key pnpm-full-v1-Linux-X64-67727b77004e0e6799b7f8587a750813c0ad4460c623edf0becc280ccb581251, not saving cache.
##[end-action id=__d67e8bdd-4eaa-44cf-8c6b-60ffceffa157.__actions_cache;outcome=success;conclusion=success;duration_ms=95]
##[start-action display=Cache Vite+;id=__d67e8bdd-4eaa-44cf-8c6b-60ffceffa157.vp_cache]
Post job cleanup.
Cache hit occurred on the primary key vite-plus-home-v2-Linux-X64-1.3.0-node26.12.1-pnpm@12.14.0, not saving cache.
##[end-action id=__d67e8bdd-4eaa-44cf-8c6b-60ffceffa157.vp_cache;outcome=success;conclusion=success;duration_ms=63]
Post job cleanup.
[command]/usr/local/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/_work/_temp/1cb02bf8-9e5e-4b15-b729-b481b6cd1aeb' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
[command]/usr/local/bin/git config --global --add safe.directory /home/runner/_work/t3code/t3code
Removing SSH command configuration
[command]/usr/local/bin/git config --local --name-only --get-regexp core\.sshCommand
[command]/usr/local/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
fatal: No url found for submodule path '.repos/alchemy-effect/submodules/distilled' in .gitmodules
Warning: The process '/usr/local/bin/git' failed with exit code 128
A job completed hook has been configured by the self-hosted runner administrator
โ–ธ Run '/job_completed.sh'
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
env:
  BLACKSMITH_RUNNER_MESSAGE_WAIT_MS: 167
  BLACKSMITH_RUNNER_ACQUIRE_JOB_MS: 387
  BLACKSMITH_CHECK_RUN_ID: 121054167979
  BLACKSMITH_JOB_DISPLAY_NAME: Test Server 8
  GITHUB_ACTIONS_CACHE_MODE: write
Docker container cache not activated, skipping hash computation.
No active SSH sessions detected. Proceeding with shutdown immediately.
Cleaning up orphan processes