GitHub check

Whole log, 129 KB
Current runner version: '2.338.1'
Runner name: 'blacksmith-4vcpu-ubuntu-2404-erkiy2tlnhwo7luj'
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: 140
  BLACKSMITH_RUNNER_ACQUIRE_JOB_MS: 388
  BLACKSMITH_CHECK_RUN_ID: 120875720019
  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: 2932)

----------------------------------------
View this job: https://app.blacksmith.sh/pingdotgg/runs/40095150909/jobs/120875720019
SSH Access (using your GitHub SSH key):
  ssh -p 64000 runner@blacksmith-4vcpu-ubuntu-2404-erkiy2tlnhwo7luj.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-erkiy2tlnhwo7luj
Host: production-152.236.31.91-x8664
Host Agent PID: 3794661
Host Agent Git SHA: 1637818df
Host CPU Manufacturer: AuthenticAMD
Blacksmith Host Generation: gen 2
Petname: production-secure-manatee-f5d2f9b0
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: 140
  BLACKSMITH_RUNNER_ACQUIRE_JOB_MS: 388
  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/6b769015-0301-4c21-b952-501af115d585' 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-ba6b55c6-511c-4407-bdc3-b0c4b13e5747.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-ba6b55c6-511c-4407-bdc3-b0c4b13e5747.config
[command]/usr/local/bin/git config --local includeIf.gitdir:/home/runner/_work/t3code/t3code/.git/worktrees/*.path /home/runner/_work/_temp/git-credentials-ba6b55c6-511c-4407-bdc3-b0c4b13e5747.config
[command]/usr/local/bin/git config --local includeIf.gitdir:/github/workspace/.git.path /github/runner_temp/git-credentials-ba6b55c6-511c-4407-bdc3-b0c4b13e5747.config
[command]/usr/local/bin/git config --local includeIf.gitdir:/github/workspace/.git/worktrees/*.path /github/runner_temp/git-credentials-ba6b55c6-511c-4407-bdc3-b0c4b13e5747.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 +473df35a66cb7d9eacac05268bdea6652afc4cd9:refs/remotes/pull/22877/merge
From https://github.com/pingdotgg/t3code
 * [new ref]         473df35a66cb7d9eacac05268bdea6652afc4cd9 -> pull/22877/merge
โ–ธ 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 refs/remotes/pull/22877/merge
Updating files:   0% (1/6401)
Updating files:   1% (65/6401)
Updating files:   2% (129/6401)
Updating files:   3% (193/6401)
Updating files:   4% (257/6401)
Updating files:   5% (321/6401)
Updating files:   6% (385/6401)
Updating files:   7% (449/6401)
Updating files:   8% (513/6401)
Updating files:   9% (577/6401)
Updating files:  10% (641/6401)
Updating files:  11% (705/6401)
Updating files:  12% (769/6401)
Updating files:  13% (833/6401)
Updating files:  14% (897/6401)
Updating files:  15% (961/6401)
Updating files:  16% (1025/6401)
Updating files:  17% (1089/6401)
Updating files:  18% (1153/6401)
Updating files:  19% (1217/6401)
Updating files:  20% (1281/6401)
Updating files:  21% (1345/6401)
Updating files:  22% (1409/6401)
Updating files:  23% (1473/6401)
Updating files:  24% (1537/6401)
Updating files:  25% (1601/6401)
Updating files:  26% (1665/6401)
Updating files:  27% (1729/6401)
Updating files:  28% (1793/6401)
Updating files:  29% (1857/6401)
Updating files:  30% (1921/6401)
Updating files:  31% (1985/6401)
Updating files:  32% (2049/6401)
Updating files:  33% (2113/6401)
Updating files:  34% (2177/6401)
Updating files:  35% (2241/6401)
Updating files:  36% (2305/6401)
Updating files:  37% (2369/6401)
Updating files:  38% (2433/6401)
Updating files:  39% (2497/6401)
Updating files:  40% (2561/6401)
Updating files:  41% (2625/6401)
Updating files:  42% (2689/6401)
Updating files:  43% (2753/6401)
Updating files:  44% (2817/6401)
Updating files:  45% (2881/6401)
Updating files:  46% (2945/6401)
Updating files:  47% (3009/6401)
Updating files:  48% (3073/6401)
Updating files:  49% (3137/6401)
Updating files:  50% (3201/6401)
Updating files:  51% (3265/6401)
Updating files:  52% (3329/6401)
Updating files:  53% (3393/6401)
Updating files:  54% (3457/6401)
Updating files:  55% (3521/6401)
Updating files:  56% (3585/6401)
Updating files:  57% (3649/6401)
Updating files:  58% (3713/6401)
Updating files:  59% (3777/6401)
Updating files:  60% (3841/6401)
Updating files:  61% (3905/6401)
Updating files:  62% (3969/6401)
Updating files:  63% (4033/6401)
Updating files:  64% (4097/6401)
Updating files:  65% (4161/6401)
Updating files:  66% (4225/6401)
Updating files:  67% (4289/6401)
Updating files:  68% (4353/6401)
Updating files:  69% (4417/6401)
Updating files:  70% (4481/6401)
Updating files:  71% (4545/6401)
Updating files:  72% (4609/6401)
Updating files:  73% (4673/6401)
Updating files:  74% (4737/6401)
Updating files:  75% (4801/6401)
Updating files:  76% (4865/6401)
Updating files:  77% (4929/6401)
Updating files:  78% (4993/6401)
Updating files:  79% (5057/6401)
Updating files:  80% (5121/6401)
Updating files:  81% (5185/6401)
Updating files:  82% (5249/6401)
Updating files:  83% (5313/6401)
Updating files:  84% (5377/6401)
Updating files:  85% (5441/6401)
Updating files:  86% (5505/6401)
Updating files:  87% (5569/6401)
Updating files:  88% (5633/6401)
Updating files:  89% (5697/6401)
Updating files:  90% (5761/6401)
Updating files:  91% (5825/6401)
Updating files:  92% (5889/6401)
Updating files:  93% (5953/6401)
Updating files:  94% (6017/6401)
Updating files:  95% (6081/6401)
Updating files:  96% (6145/6401)
Updating files:  97% (6209/6401)
Updating files:  98% (6273/6401)
Updating files:  99% (6337/6401)
Updating files: 100% (6401/6401)
Updating files: 100% (6401/6401), done.
Note: switching to 'refs/remotes/pull/22877/merge'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at 473df35 Merge 7c927b95dfdd02196de6bd7a7a87a66fa0c23279 into 7f7daad98503dc049b7230465ae3863d71f197e4
[command]/usr/local/bin/git log -1 --format=%H
473df35a66cb7d9eacac05268bdea6652afc4cd9
Prepare all required actions
โ–ธ Run ./.github/actions/ci-changes
env:
  BLACKSMITH_RUNNER_MESSAGE_WAIT_MS: 140
  BLACKSMITH_RUNNER_ACQUIRE_JOB_MS: 388
  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: 140
  BLACKSMITH_RUNNER_ACQUIRE_JOB_MS: 388
  GITHUB_REPO_NAME: pingdotgg/t3code
  EVENT_NAME: pull_request
  BEFORE_SHA: e8863b73d2d07edc5368820b150695006affd450
Affected packages: @t3tools/client-runtime, @t3tools/contracts, @t3tools/desktop, @t3tools/marketing, @t3tools/mobile, @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, t3, t3code-relay
typecheck=true
build=true
test=true
test_packages=@t3tools/desktop @t3tools/mobile t3code-relay @t3tools/client-runtime @t3tools/contracts @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/shared @t3tools/source-control-azure-devops @t3tools/source-control-bitbucket @t3tools/source-control-core @t3tools/source-control-forgejo @t3tools/source-control-gitcafe @t3tools/source-control-github @t3tools/source-control-gitlab @t3tools/ssh @t3tools/tailscale @t3tools/scripts
test_web=true
test_server=true
rust=false
release_smoke=true
mobile_native=false
##[end-action id=changes.detect;outcome=success;conclusion=success;duration_ms=57]
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: 140
  BLACKSMITH_RUNNER_ACQUIRE_JOB_MS: 388
  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: 140
  BLACKSMITH_RUNNER_ACQUIRE_JOB_MS: 388
  GITHUB_REPO_NAME: pingdotgg/t3code
##[end-action id=__self.vp;outcome=success;conclusion=success;duration_ms=9]
##[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: 140
  BLACKSMITH_RUNNER_ACQUIRE_JOB_MS: 388
  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%), 479.2 MBs/sec
Cache Size: ~162 MB (170349591 B)
[command]/usr/bin/tar -xf /home/runner/_work/_temp/1269a067-109a-44a0-80b8-da708529584c/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=1593]
##[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: 140
  BLACKSMITH_RUNNER_ACQUIRE_JOB_MS: 388
  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=9]
##[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: 140
  BLACKSMITH_RUNNER_ACQUIRE_JOB_MS: 388
  GITHUB_REPO_NAME: pingdotgg/t3code
##[end-action id=__self.pnpm_store;outcome=success;conclusion=success;duration_ms=15]
##[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-fa50cf9b003d547cd32552f61b874eb4abe5dace3fdb4b1abd9610da2da24074
  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: 140
  BLACKSMITH_RUNNER_ACQUIRE_JOB_MS: 388
  GITHUB_REPO_NAME: pingdotgg/t3code
Cache hit for: pnpm-full-v1-Linux-X64-fa50cf9b003d547cd32552f61b874eb4abe5dace3fdb4b1abd9610da2da24074
Received 750780416 of 994208090 (75.5%), 715.3 MBs/sec
Received 994208090 of 994208090 (100.0%), 699.7 MBs/sec
Cache Size: ~948 MB (994208090 B)
[command]/usr/bin/tar -xf /home/runner/_work/_temp/da888bab-8ead-41d2-96d7-38aaf7bc6a13/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-fa50cf9b003d547cd32552f61b874eb4abe5dace3fdb4b1abd9610da2da24074
##[end-action id=__self.__actions_cache;outcome=success;conclusion=success;duration_ms=7139]
##[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: 140
  BLACKSMITH_RUNNER_ACQUIRE_JOB_MS: 388
  GITHUB_REPO_NAME: pingdotgg/t3code
Scope: all 34 workspace projects
? Verifying lockfile against supply-chain policies (2088 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 (2088 entries in 2.8s)
Lockfile is up to date, resolution step is skipped
Packages: +1721
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Progress: resolved 1721, reused 1718, downloaded 0, added 1721, 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 4.1s using pnpm v12.14.0
##[end-action id=__self.__run_2;outcome=success;conclusion=success;duration_ms=4080]
โ–ธ 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: 140
  BLACKSMITH_RUNNER_ACQUIRE_JOB_MS: 388
  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: 140
  BLACKSMITH_RUNNER_ACQUIRE_JOB_MS: 388
  GITHUB_REPO_NAME: pingdotgg/t3code
Cache hit for: playwright-chromium-shell-Linux-X64-1.60.0
Received 106503405 of 106503405 (100.0%), 362.7 MBs/sec
Cache Size: ~102 MB (106503405 B)
[command]/usr/bin/tar -xf /home/runner/_work/_temp/eebbc95c-b196-4e57-9528-24f999901fdf/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: 140
  BLACKSMITH_RUNNER_ACQUIRE_JOB_MS: 388
  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: 140
  BLACKSMITH_RUNNER_ACQUIRE_JOB_MS: 388
  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) 1009ms
 โœ“ src/orchestration-v2/RunExecutionService.test.ts (43 tests) 56ms
 โœ“ src/orchestration-v2/DelegatedCompletionDelivery.test.ts (26 tests) 577ms
 โœ“ src/project/AgentSessionScanner.test.ts (53 tests) 718ms
   โœ“ AgentSessionScanner (37)
     โœ“ recentThreads (18)
       โœ“ skips excessive records without blocking an older valid transcript 328ms
 โœ“ src/provider/acp/AcpJsonRpcConnection.test.ts (30 tests) 5407ms
   โœ“ AcpSessionRuntime (30)
     โœ“ drains large stderr output and keeps auth-sized logging chunks 360ms
     โœ“ keeps assistant item IDs unique when a provider session restarts 365ms
 โœ“ src/orchestration-v2/RestartContinuation.test.ts (44 tests) 38ms
 โœ“ src/provider/providerMaintenanceRunner.test.ts (18 tests) 33ms
 โœ“ src/mcp/McpHttpServer.test.ts (18 tests) 134ms
stdout | src/orchestration-v2/SelectionRestart.integration.test.ts > retries a failed selection restart session open before completing
[12:44:46.363] 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
[12:44:46.500] 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:371: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:1370: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:91042b50-a5bf-4c3b-be20-2645096a471a.\n' +
    '        at /home/runner/_work/t3code/t3code/apps/server/src/orchestration-v2/ProviderSessionManager.ts:2207: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:91042b50-a5bf-4c3b-be20-2645096a471a.\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
[12:44:46.721] 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)
[12:44:46.957] 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)
[12:44:47.204] 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)
[12:44:47.485] 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)
[12:44:47.815] 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)
[12:44:48.091] 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) 1980ms
   โœ“ retries a failed selection restart session open before completing 380ms
   โœ“ preserves native history only for compatible account switches (selection-command) 330ms
 โœ“ src/orchestration-v2/CheckpointRollbackService.test.ts (7 tests) 78ms
 โœ“ src/orchestration-v2/ProviderContinuationService.test.ts (11 tests) 13ms
 โœ“ src/checkpointing/CheckpointStore.test.ts (9 tests) 880ms
 โœ“ src/orchestration-v2/ClaudeAutomaticDelivery.integration.test.ts (4 tests) 968ms
   โœ“ delivers child completion with Claude's native pending-tool cancellation behavior 349ms
 โœ“ src/orchestration-v2/TurnStartReads.test.ts (4 tests) 125ms
 โœ“ src/provider/CodexInstallation.test.ts (25 tests) 285ms
stdout | integration/transferBudgetV2.integration.test.ts > reports V2 thread HTTP and WebSocket transfer budgets
[12:44:55.897] 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
[12:44:56.064] INFO (#349) http.span=22ms: 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
[12:44:56.072] INFO (#367) http.span=4ms: 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
[12:44:56.223] INFO (#405) http.span=144ms: 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
[12:44:56.236] INFO (#641) http.span=31ms: InterruptError: All fibers interrupted without error {
  [cause]: InterruptCause: The fiber was interrupted by:
      at fiber (#728)
} { 'http.method': 'GET', 'http.url': '/ws', 'http.status': 503 }
[12:44:56.237] INFO (#629) http.span=33ms: InterruptError: All fibers interrupted without error {
  [cause]: InterruptCause: The fiber was interrupted by:
      at fiber (#729)
} { 'http.method': 'GET', 'http.url': '/ws', 'http.status': 503 }
[12:44:56.237] INFO (#395) http.span=159ms: InterruptError: All fibers interrupted without error {
  [cause]: InterruptCause: The fiber was interrupted by:
      at fiber (#730)
} { 'http.method': 'GET', 'http.url': '/ws', 'http.status': 503 }
[12:44:56.237] INFO (#384) http.span=162ms: InterruptError: All fibers interrupted without error {
  [cause]: InterruptCause: The fiber was interrupted by:
      at fiber (#731)
} { 'http.method': 'GET', 'http.url': '/ws', 'http.status': 503 }

stdout | integration/transferBudgetV2.integration.test.ts > reports V2 thread HTTP and WebSocket transfer budgets
[12:44:56.258] 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
[12:44:56.391] INFO (#1093) http.span=16ms: 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
[12:44:56.405] INFO (#1111) http.span=11ms: 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
[12:44:56.542] INFO (#1149) http.span=132ms: 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
[12:44:56.553] INFO (#1373) http.span=29ms: 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
[12:44:56.553] INFO (#1139) http.span=144ms: 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
[12:44:56.553] INFO (#1385) http.span=28ms: 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
[12:44:56.553] INFO (#1128) http.span=145ms: InterruptError: All fibers interrupted without error {
  [cause]: InterruptCause: The fiber was interrupted by:
      at fiber (#1452)
} { 'http.method': 'GET', 'http.url': '/ws', 'http.status': 503 }

stdout | integration/transferBudgetV2.integration.test.ts > reports V2 thread HTTP and WebSocket transfer budgets
[12:44:56.557] 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.

| 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,117 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 | 845 B | none | INFO |
| codex | measured turn, shell | WebSocket wire | 643 B | none | INFO |
| codex | measured turn, shell | WebSocket decoded | 1.6 KiB (1,650 B) | none | INFO |
| codex | measured turn, shell | WebSocket messages | 1 | none | INFO |
| codex | measured turn, second client | WebSocket wire | 1.7 KiB (1,708 B) | none | INFO |
| codex | measured turn, second client | WebSocket decoded | 22.5 KiB (23,010 B) | none | INFO |
| codex | measured turn, second client | WebSocket messages | 3 | none | INFO |
| codex | measured turn | server egress wire | 3.5 KiB (3,570 B) | none | INFO |
| codex | measured turn | SQL statements | 20 | none | INFO |
| codex | reconnect, thread (snapshot) | WebSocket wire | 4.1 KiB (4,242 B) | none | INFO |
| codex | reconnect, thread (snapshot) | WebSocket decoded | 80.6 KiB (82,484 B) | none | INFO |
| codex | reconnect, thread (snapshot) | WebSocket messages | 2 | none | INFO |
| codex | reconnect, shell (replay) | WebSocket wire | 872 B | none | INFO |
| codex | reconnect, shell (replay) | WebSocket decoded | 1.7 KiB (1,715 B) | none | INFO |
| codex | reconnect, shell (replay) | WebSocket messages | 2 | none | INFO |
| codex | reconnect | SQL statements | 32 | none | INFO |
| 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,228 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 | 849 B | none | INFO |
| claudeAgent | measured turn, shell | WebSocket wire | 648 B | none | INFO |
| claudeAgent | measured turn, shell | WebSocket decoded | 1.6 KiB (1,672 B) | none | INFO |
| claudeAgent | measured turn, shell | WebSocket messages | 1 | none | INFO |
| claudeAgent | measured turn, second client | WebSocket wire | 1.7 KiB (1,717 B) | none | INFO |
| claudeAgent | measured turn, second client | WebSocket decoded | 22.8 KiB (23,382 B) | none | INFO |
| claudeAgent | measured turn, second client | WebSocket messages | 3 | none | INFO |
| claudeAgent | measured turn | server egress wire | 3.5 KiB (3,593 B) | none | INFO |
| claudeAgent | measured turn | SQL statements | 20 | none | INFO |
| claudeAgent | reconnect, thread (snapshot) | WebSocket wire | 4.2 KiB (4,250 B) | none | INFO |
| claudeAgent | reconnect, thread (snapshot) | WebSocket decoded | 80.8 KiB (82,750 B) | none | INFO |
| claudeAgent | reconnect, thread (snapshot) | WebSocket messages | 2 | none | INFO |
| claudeAgent | reconnect, shell (replay) | WebSocket wire | 877 B | none | INFO |
| claudeAgent | reconnect, shell (replay) | WebSocket decoded | 1.7 KiB (1,739 B) | none | INFO |
| claudeAgent | reconnect, shell (replay) | WebSocket messages | 2 | none | INFO |
| claudeAgent | reconnect | SQL statements | 32 | none | INFO |

## 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,627 B) decoded to 670 B gzip.
- claudeAgent: thread snapshot 108.8 KiB (111,447 B) decoded to 3.6 KiB (3,713 B) gzip.
- claudeAgent: shell snapshot 1.6 KiB (1,649 B) decoded to 674 B gzip.


 โœ“ integration/transferBudgetV2.integration.test.ts (1 test) 696ms
   โœ“ reports V2 thread HTTP and WebSocket transfer budgets 695ms
 โœ“ src/persistence/Migrations/026_CanonicalizeModelSelectionOptions.test.ts (1 test) 17ms
 โœ“ src/mcp/TaskCancelNativeSubagent.integration.test.ts (1 test) 352ms
   โœ“ task_cancel ends a delegated child's background native subagent 351ms
 โœ“ src/serverRuntimeStartup.test.ts (8 tests) 15ms
 โœ“ src/process/agentScope.test.ts (10 tests) 44ms
 โœ“ src/preview/Manager.test.ts (8 tests) 15ms
 โœ“ src/serverLogger.test.ts (7 tests) 16ms
 โœ“ src/resourceTelemetry/ResourceTelemetryHistory.test.ts (6 tests) 4ms
 โœ“ src/cloud/CloudLink.test.ts (6 tests) 27ms
 โœ“ src/provider/claudeResetCredits.test.ts (7 tests) 23ms
 โœ“ src/pullRequest/PullRequestReadCache.test.ts (7 tests) 25ms
 โœ“ src/observability/OtlpEndpointCheck.test.ts (5 tests) 32ms
 โœ“ src/terminal/NodePtyAdapter.test.ts (10 tests) 13ms
 โœ“ src/attachmentStore.test.ts (10 tests) 6ms
 โœ“ src/project/WorktreeSetupTracker.test.ts (5 tests) 10ms
 โœ“ src/htmlRender/publicProxy.test.ts (3 tests) 17ms
 โœ“ src/persistence/Migrations.test.ts (7 tests) 134ms
 โœ“ src/cloud/relayResponse.test.ts (8 tests) 13ms
 โœ“ src/orchestration-v2/RunFinalizationService.test.ts (5 tests) 6ms
 โœ“ src/bootstrap.test.ts (3 tests) 10ms
 โœ“ src/orchestration-v2/ProjectCommands.test.ts (3 tests) 3ms
 โœ“ src/orchestration-v2/RuntimePolicy.test.ts (1 test) 4ms
 โœ“ src/provider/Drivers/ClaudeSkillDispatch.test.ts (7 tests) 3ms
 โœ“ src/device/DeviceHubProxy.stream.test.ts (1 test) 29ms
 โœ“ src/auth/replayMarkers.test.ts (1 test) 15ms
 โœ“ src/utils/subscribeBeforeSnapshot.test.ts (2 tests) 6ms
 โœ“ src/orchestration-v2/workflowAgentTranscript.test.ts (1 test) 8ms
 โœ“ src/cli/triagePrompt.test.ts (3 tests) 2ms
 โœ“ src/provider/OpenCode2Client.events.test.ts (1 test) 18ms
 โœ“ src/orchestration-v2/testkit/OpenCodeReplayFixtures.integration.test.ts (22 tests) 5775ms
   โœ“ OpenCode replay fixtures (22)
     โœ“ runs simple/opencode through OrchestratorV2 using deterministic replay 307ms
     โœ“ runs opencode2_inbox/opencode through OrchestratorV2 using deterministic replay 338ms
     โœ“ runs opencode2_revert/opencode through OrchestratorV2 using deterministic replay 327ms
     โœ“ runs opencode2_background/opencode through OrchestratorV2 using deterministic replay 340ms
     โœ“ runs opencode2_compaction/opencode through OrchestratorV2 using deterministic replay 413ms
     โœ“ runs opencode2_resume_after_restart/opencode through OrchestratorV2 using deterministic replay 306ms
     โœ“ runs opencode2_background when session.execution.started.3 is an execution start this build cannot decode 321ms
 โœ“ src/device/sshDeviceScript.test.ts (2 tests) 8ms
 โœ“ src/persistence/Migrations/063_DropUnusedV1Projections.test.ts (1 test) 35ms
 โœ“ src/mcp/toolkits/device/handlers.test.ts (2 tests) 2ms
 โœ“ src/cli/triage.test.ts (1 test) 7ms
 โœ“ src/observability/EventLoopMonitor.test.ts (1 test) 1ms
 โœ“ src/orchestration-v2/testkit/CursorReplayFixtures.integration.test.ts (11 tests) 2882ms
   โœ“ Cursor replay fixtures (11)
     โœ“ runs simple/cursor through OrchestratorV2 using deterministic replay 354ms
     โœ“ runs subagent/cursor through OrchestratorV2 using deterministic replay 303ms
 โœ“ src/provider/ClaudeCapabilitiesProbe.test.ts (1 test) 1ms

 Test Files  52 passed (52)
      Tests  519 passed (519)
   Start at  12:44:29
   Duration  51.98s (tests 46%, import 42%, transform 10%, setup 3%)

     Import  1365 modules were evaluated 17282 times ยท 20.68s total, 42% of tracked time
             ~19.05s 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: 140
  BLACKSMITH_RUNNER_ACQUIRE_JOB_MS: 388
  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: 140
  BLACKSMITH_RUNNER_ACQUIRE_JOB_MS: 388
  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.

| 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,117 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 | 845 B | none | INFO |
| codex | measured turn, shell | WebSocket wire | 643 B | none | INFO |
| codex | measured turn, shell | WebSocket decoded | 1.6 KiB (1,650 B) | none | INFO |
| codex | measured turn, shell | WebSocket messages | 1 | none | INFO |
| codex | measured turn, second client | WebSocket wire | 1.7 KiB (1,708 B) | none | INFO |
| codex | measured turn, second client | WebSocket decoded | 22.5 KiB (23,010 B) | none | INFO |
| codex | measured turn, second client | WebSocket messages | 3 | none | INFO |
| codex | measured turn | server egress wire | 3.5 KiB (3,570 B) | none | INFO |
| codex | measured turn | SQL statements | 20 | none | INFO |
| codex | reconnect, thread (snapshot) | WebSocket wire | 4.1 KiB (4,242 B) | none | INFO |
| codex | reconnect, thread (snapshot) | WebSocket decoded | 80.6 KiB (82,484 B) | none | INFO |
| codex | reconnect, thread (snapshot) | WebSocket messages | 2 | none | INFO |
| codex | reconnect, shell (replay) | WebSocket wire | 872 B | none | INFO |
| codex | reconnect, shell (replay) | WebSocket decoded | 1.7 KiB (1,715 B) | none | INFO |
| codex | reconnect, shell (replay) | WebSocket messages | 2 | none | INFO |
| codex | reconnect | SQL statements | 32 | none | INFO |
| 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,228 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 | 849 B | none | INFO |
| claudeAgent | measured turn, shell | WebSocket wire | 648 B | none | INFO |
| claudeAgent | measured turn, shell | WebSocket decoded | 1.6 KiB (1,672 B) | none | INFO |
| claudeAgent | measured turn, shell | WebSocket messages | 1 | none | INFO |
| claudeAgent | measured turn, second client | WebSocket wire | 1.7 KiB (1,717 B) | none | INFO |
| claudeAgent | measured turn, second client | WebSocket decoded | 22.8 KiB (23,382 B) | none | INFO |
| claudeAgent | measured turn, second client | WebSocket messages | 3 | none | INFO |
| claudeAgent | measured turn | server egress wire | 3.5 KiB (3,593 B) | none | INFO |
| claudeAgent | measured turn | SQL statements | 20 | none | INFO |
| claudeAgent | reconnect, thread (snapshot) | WebSocket wire | 4.2 KiB (4,250 B) | none | INFO |
| claudeAgent | reconnect, thread (snapshot) | WebSocket decoded | 80.8 KiB (82,750 B) | none | INFO |
| claudeAgent | reconnect, thread (snapshot) | WebSocket messages | 2 | none | INFO |
| claudeAgent | reconnect, shell (replay) | WebSocket wire | 877 B | none | INFO |
| claudeAgent | reconnect, shell (replay) | WebSocket decoded | 1.7 KiB (1,739 B) | none | INFO |
| claudeAgent | reconnect, shell (replay) | WebSocket messages | 2 | none | INFO |
| claudeAgent | reconnect | SQL statements | 32 | none | INFO |

## 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,627 B) decoded to 670 B gzip.
- claudeAgent: thread snapshot 108.8 KiB (111,447 B) decoded to 3.6 KiB (3,713 B) gzip.
- claudeAgent: shell snapshot 1.6 KiB (1,649 B) decoded to 674 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: 140
  BLACKSMITH_RUNNER_ACQUIRE_JOB_MS: 388
  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 503
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is 9f9725338825900d1960a4400ba7e959b0690efe1069d3ed210be43f358aad0b
Finalizing artifact upload
Artifact thread-transfer-results successfully finalized. Artifact ID 12560955746
Artifact thread-transfer-results has been successfully uploaded! Final size is 503 bytes. Artifact ID is 12560955746
Artifact download URL: https://github.com/pingdotgg/t3code/actions/runs/40095150909/artifacts/12560955746
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=__7e5c2a5c-6945-457d-9894-62cec8071b8d.__actions_cache]
Post job cleanup.
Cache hit occurred on the primary key pnpm-full-v1-Linux-X64-fa50cf9b003d547cd32552f61b874eb4abe5dace3fdb4b1abd9610da2da24074, not saving cache.
##[end-action id=__7e5c2a5c-6945-457d-9894-62cec8071b8d.__actions_cache;outcome=success;conclusion=success;duration_ms=94]
##[start-action display=Cache Vite+;id=__7e5c2a5c-6945-457d-9894-62cec8071b8d.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=__7e5c2a5c-6945-457d-9894-62cec8071b8d.vp_cache;outcome=success;conclusion=success;duration_ms=65]
Post job cleanup.
[command]/usr/local/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/_work/_temp/178904c5-ace9-4dde-bf44-ea766c61ea3c' 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: 140
  BLACKSMITH_RUNNER_ACQUIRE_JOB_MS: 388
  BLACKSMITH_CHECK_RUN_ID: 120875720019
  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