GitHub check

256 KB of 290 KB loaded Download the full log (290 KB)
34 KB of earlier output not loaded
THUB_REPO_NAME: pingdotgg/t3code
  BASH_ENV: /home/runner/_work/_temp/t3-task-cache.sh
  VP_REMOTE_CACHE: read-write
Cache hit for: playwright-chromium-shell-Linux-X64-1.60.0
Received 106503405 of 106503405 (100.0%), 725.5 MBs/sec
Cache Size: ~102 MB (106503405 B)
[command]/usr/bin/tar -xf /home/runner/_work/_temp/581bb662-27ea-422a-95ef-668076516f49/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: 174
  BLACKSMITH_RUNNER_ACQUIRE_JOB_MS: 477
  GITHUB_REPO_NAME: pingdotgg/t3code
  BASH_ENV: /home/runner/_work/_temp/t3-task-cache.sh
  VP_REMOTE_CACHE: read-write
▸ Run vp run test:cached -- --shard 2/8 --uncached apps/server/integration/transferBudgetV2.integration.test.ts --verify-hits 1 --report "/home/runner/_work/_temp/test-cache-2.json" apps/server
vp run test:cached -- --shard 2/8 --uncached apps/server/integration/transferBudgetV2.integration.test.ts --verify-hits 1 --report "/home/runner/_work/_temp/test-cache-2.json" apps/server
shell: /usr/bin/bash -e {0}
env:
  BLACKSMITH_RUNNER_MESSAGE_WAIT_MS: 174
  BLACKSMITH_RUNNER_ACQUIRE_JOB_MS: 477
  GITHUB_REPO_NAME: pingdotgg/t3code
  BASH_ENV: /home/runner/_work/_temp/t3-task-cache.sh
  VP_REMOTE_CACHE: read-write
  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
$ node scripts/test-cached.ts -- --shard 2/8 --uncached apps/server/integration/transferBudgetV2.integration.test.ts --verify-hits 1 --report /home/runner/_work/_temp/test-cache-2.json apps/server ⊘ cache disabled
Cached tests: 50 files, 1 per task, concurrency 1
~/apps/server$ vp test run 'src/persistence/Migrations/054_ProjectionThreadsAutoSettleDisabledAt.test.ts' ○ cache miss: 'packages/contracts/src/orchestrationV2.ts' modified, executing

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

 ✓ src/persistence/Migrations/054_ProjectionThreadsAutoSettleDisabledAt.test.ts (1 test) 24ms

 Test Files  1 passed (1)
      Tests  1 passed (1)
   Start at  23:00:34
   Duration  611ms (transform 58%, import 33%, setup 5%, tests 4%)


~/apps/server$ vp test run 'src/telemetry/FeatureUsage.test.ts' ○ cache miss: 'packages/contracts/src/orchestrationV2.ts' modified, executing

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

 ✓ src/telemetry/FeatureUsage.test.ts (4 tests) 2ms

 Test Files  1 passed (1)
      Tests  4 passed (4)
   Start at  23:00:36
   Duration  279ms (import 66%, transform 21%, setup 11%, tests 1%, worker 1%)


~/apps/server$ vp test run 'src/orchestration-v2/workflowScriptQuery.test.ts' ○ cache miss: 'packages/shared/package.json' modified, executing

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

 ✓ src/orchestration-v2/workflowScriptQuery.test.ts (3 tests) 10ms

 Test Files  1 passed (1)
      Tests  3 passed (3)
   Start at  23:00:37
   Duration  303ms (import 62%, transform 22%, setup 11%, tests 4%, worker 1%)


~/apps/server$ vp test run 'src/device/DeviceToolchain.test.ts' ○ cache miss: 'apps/server/node_modules/@t3tools/shared/package.json' modified, executing

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

 ✓ src/device/DeviceToolchain.test.ts (3 tests) 11ms

 Test Files  1 passed (1)
      Tests  3 passed (3)
   Start at  23:00:39
   Duration  372ms (import 54%, transform 34%, setup 8%, tests 3%, worker 1%)


~/apps/server$ vp test run 'src/scheduledTasks/webhookTemplate.test.ts' ○ cache miss: 'apps/server/node_modules/@t3tools/shared/package.json' modified, executing

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

 ✓ src/scheduledTasks/webhookTemplate.test.ts (10 tests) 4ms

 Test Files  1 passed (1)
      Tests  10 passed (10)
   Start at  23:00:41
   Duration  341ms (import 66%, transform 23%, setup 9%, tests 1%, worker 1%)


~/apps/server$ vp test run 'src/orchestration-v2/testkit/ProviderSwitch.integration.test.ts' ○ cache miss: 'packages/effect-codex-app-server/src/protocol.ts' modified, executing

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

stdout | src/orchestration-v2/testkit/ProviderSwitch.integration.test.ts > orchestration v2 provider switching > preserves handoffs through compact-native
[23:00:46.093] 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/testkit/ProviderSwitch.integration.test.ts > orchestration v2 provider switching > preserves handoffs through compact-legacy
[23:00:46.406] INFO (#2701): 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/testkit/ProviderSwitch.integration.test.ts > orchestration v2 provider switching > preserves handoffs through large-current-input
[23:00:46.784] INFO (#5466): 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/testkit/ProviderSwitch.integration.test.ts > orchestration v2 provider switching > preserves handoffs through screenshot-fallback
[23:00:47.160] INFO (#8317): 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/testkit/ProviderSwitch.integration.test.ts > orchestration v2 provider switching > preserves handoffs through screenshot-reported-capacity-native
[23:00:47.392] INFO (#10994): 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/testkit/ProviderSwitch.integration.test.ts > orchestration v2 provider switching > preserves handoffs through screenshot-option-change-retry-native
[23:00:47.624] INFO (#13671): 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/testkit/ProviderSwitch.integration.test.ts > orchestration v2 provider switching > preserves handoffs through screenshot-option-change-retry-native
[23:00:47.901] ERROR (#15306): orchestration V2 provider turn start failed {
  runId: 'run:thread:thread%3Aprovider-switch:ordinal:4',
  cause: { _id: 'Cause', failures: [ [Object] ] }
}

stdout | src/orchestration-v2/testkit/ProviderSwitch.integration.test.ts > orchestration v2 provider switching > preserves handoffs through prior-images-reasoning-change-replacement-small-native
[23:00:48.060] INFO (#16590): 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/testkit/ProviderSwitch.integration.test.ts > orchestration v2 provider switching > preserves handoffs through prior-images-reasoning-change-replacement-small-native
[23:00:48.334] WARN (#18232): Provider resume failed; attempting a fresh native session {
  driver: 'claudeAgent',
  providerThreadId: 'provider-thread:provider:claudeAgent:native-thread:pending%3Arun%3Athread%3Athread%253Aprovider-switch%3Aordinal%3A2',
  runId: 'run:thread:thread%3Aprovider-switch:ordinal:4',
  reason: 'resume_failed',
  errorTag: 'ProviderAdapterProtocolError'
}

stdout | src/orchestration-v2/testkit/ProviderSwitch.integration.test.ts > orchestration v2 provider switching > preserves handoffs through prior-images-reasoning-change-replacement-small-native
[23:00:48.346] ERROR (#18232): orchestration V2 provider turn start failed {
  runId: 'run:thread:thread%3Aprovider-switch:ordinal:4',
  cause: { _id: 'Cause', failures: [ [Object] ] }
}

stdout | src/orchestration-v2/testkit/ProviderSwitch.integration.test.ts > orchestration v2 provider switching > preserves handoffs through imported-prior-images-fallback
[23:00:48.395] INFO (#19381): 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/testkit/ProviderSwitch.integration.test.ts > orchestration v2 provider switching > preserves handoffs through prior-images-telemetry-native
[23:00:48.755] INFO (#22232): 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/testkit/ProviderSwitch.integration.test.ts > orchestration v2 provider switching > preserves handoffs through prior-images-unsent-native
[23:00:49.116] INFO (#25082): 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/testkit/ProviderSwitch.integration.test.ts > orchestration v2 provider switching > preserves handoffs through prior-images-unsent-native
[23:00:49.247] ERROR (#26537): orchestration V2 provider turn start failed {
  runId: 'run:thread:thread%3Aprovider-switch:ordinal:2',
  cause: { _id: 'Cause', failures: [ [Object] ] }
}

stdout | src/orchestration-v2/testkit/ProviderSwitch.integration.test.ts > orchestration v2 provider switching > preserves handoffs through prior-images-legacy-replacement-native
[23:00:49.461] INFO (#27917): 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/testkit/ProviderSwitch.integration.test.ts > orchestration v2 provider switching > preserves handoffs through prior-images-legacy-replacement-native
[23:00:49.717] WARN (#29557): Provider resume failed; attempting a fresh native session {
  driver: 'claudeAgent',
  providerThreadId: 'provider-thread:provider:claudeAgent:native-thread:pending%3Arun%3Athread%3Athread%253Aprovider-switch%3Aordinal%3A2',
  runId: 'run:thread:thread%3Aprovider-switch:ordinal:4',
  reason: 'resume_failed',
  errorTag: 'ProviderAdapterProtocolError'
}

stdout | src/orchestration-v2/testkit/ProviderSwitch.integration.test.ts > orchestration v2 provider switching > preserves handoffs through delivery-write-failure
[23:00:50.023] INFO (#31032): 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/testkit/ProviderSwitch.integration.test.ts > orchestration v2 provider switching > preserves handoffs through delivery-write-failure
[23:00:50.161] WARN (#32487): Failed to record accepted context handoff delivery {
  runId: 'run:thread:thread%3Aprovider-switch:ordinal:2',
  deliveryStatus: 'pending'
}

stdout | src/orchestration-v2/testkit/ProviderSwitch.integration.test.ts > orchestration v2 provider switching > recovers turn-start failure without duplicating history in the same native thread
[23:00:50.256] INFO (#33709): 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/testkit/ProviderSwitch.integration.test.ts > orchestration v2 provider switching > recovers turn-start failure without duplicating history in the same native thread
[23:00:50.391] ERROR (#35168): orchestration V2 provider turn start failed {
  runId: 'run:thread:thread%3Aprovider-switch:ordinal:2',
  cause: { _id: 'Cause', failures: [ [Object] ] }
}

stdout | src/orchestration-v2/testkit/ProviderSwitch.integration.test.ts > orchestration v2 provider switching > recovers injection failure without duplicating history in the same native thread
[23:00:50.601] INFO (#36540): 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/testkit/ProviderSwitch.integration.test.ts > orchestration v2 provider switching > recovers injection failure without duplicating history in the same native thread
[23:00:50.736] ERROR (#37999): orchestration V2 provider turn start failed {
  runId: 'run:thread:thread%3Aprovider-switch:ordinal:2',
  cause: { _id: 'Cause', failures: [ [Object] ] }
}

stdout | src/orchestration-v2/testkit/ProviderSwitch.integration.test.ts > orchestration v2 provider switching > recovers injection failure without duplicating history in the same native thread
[23:00:50.744] WARN (#38018): Provider resume failed; attempting a fresh native session {
  driver: 'claudeAgent',
  providerThreadId: 'provider-thread:provider:claudeAgent:native-thread:pending%3Arun%3Athread%3Athread%253Aprovider-switch%3Aordinal%3A2',
  runId: 'run:thread:thread%3Aprovider-switch:ordinal:3',
  reason: 'uncertain_history_delivery',
  errorTag: 'ProviderAdapterTurnStartError'
}

stdout | src/orchestration-v2/testkit/ProviderSwitch.integration.test.ts > orchestration v2 provider switching > recovers large-missed-request failure without duplicating history in the same native thread
[23:00:50.947] INFO (#39370): 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/testkit/ProviderSwitch.integration.test.ts > orchestration v2 provider switching > recovers large-missed-request failure without duplicating history in the same native thread
[23:00:51.083] ERROR (#40830): orchestration V2 provider turn start failed {
  runId: 'run:thread:thread%3Aprovider-switch:ordinal:2',
  cause: { _id: 'Cause', failures: [ [Object] ] }
}

stdout | src/orchestration-v2/testkit/ProviderSwitch.integration.test.ts > orchestration v2 provider switching > starts a replacement native thread as new after the resume fallback with native attempts
[23:00:51.306] INFO (#42201): 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/testkit/ProviderSwitch.integration.test.ts > orchestration v2 provider switching > starts a replacement native thread as new after the resume fallback with native attempts
[23:00:51.453] WARN (#43667): Provider resume failed; attempting a fresh native session {
  driver: 'claudeAgent',
  providerThreadId: 'provider-thread:provider:claudeAgent:native-thread:pending%3Arun%3Athread%3Athread%253Aprovider-switch%3Aordinal%3A1',
  runId: 'run:thread:thread%3Aprovider-switch:ordinal:2',
  reason: 'resume_failed',
  errorTag: 'ProviderAdapterProtocolError'
}

stdout | src/orchestration-v2/testkit/ProviderSwitch.integration.test.ts > orchestration v2 provider switching > starts a replacement native thread as new after the resume fallback with legacy attempts
[23:00:51.618] INFO (#44968): 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/testkit/ProviderSwitch.integration.test.ts > orchestration v2 provider switching > starts a replacement native thread as new after the resume fallback with legacy attempts
[23:00:51.746] WARN (#46429): Provider resume failed; attempting a fresh native session {
  driver: 'claudeAgent',
  providerThreadId: 'provider-thread:provider:claudeAgent:native-thread:pending%3Arun%3Athread%3Athread%253Aprovider-switch%3Aordinal%3A1',
  runId: 'run:thread:thread%3Aprovider-switch:ordinal:2',
  reason: 'resume_failed',
  errorTag: 'ProviderAdapterProtocolError'
}

stdout | src/orchestration-v2/testkit/ProviderSwitch.integration.test.ts > orchestration v2 provider switching > keeps the latest turn when a resume fallback also delivers an older handoff
[23:00:51.919] INFO (#47735): 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/testkit/ProviderSwitch.integration.test.ts > orchestration v2 provider switching > keeps the latest turn when a resume fallback also delivers an older handoff
[23:00:52.044] WARN (#49200): Provider resume failed; attempting a fresh native session {
  driver: 'claudeAgent',
  providerThreadId: 'provider-thread:provider:claudeAgent:native-thread:pending%3Arun%3Athread%3Athread%253Aprovider-switch%3Aordinal%3A1',
  runId: 'run:thread:thread%3Aprovider-switch:ordinal:2',
  reason: 'resume_failed',
  errorTag: 'ProviderAdapterProtocolError'
}

stdout | src/orchestration-v2/testkit/ProviderSwitch.integration.test.ts > orchestration v2 provider switching > keeps the latest turn when a resume fallback also delivers an older handoff
[23:00:52.067] WARN (#49233): Provider resume failed; attempting a fresh native session {
  driver: 'claudeAgent',
  providerThreadId: 'provider-thread:provider:claudeAgent:native-thread:pending%3Arun%3Athread%3Athread%253Aprovider-switch%3Aordinal%3A1',
  runId: 'run:thread:thread%3Aprovider-switch:ordinal:3',
  reason: 'resume_failed',
  errorTag: 'ProviderAdapterProtocolError'
}

stdout | src/orchestration-v2/testkit/ProviderSwitch.integration.test.ts > orchestration v2 provider switching > keeps the latest turn when a resume fallback also delivers an older handoff
[23:00:52.188] WARN (#49376): Provider resume failed; attempting a fresh native session {
  driver: 'claudeAgent',
  providerThreadId: 'provider-thread:provider:claudeAgent:native-thread:pending%3Arun%3Athread%3Athread%253Aprovider-switch%3Aordinal%3A1',
  runId: 'run:thread:thread%3Aprovider-switch:ordinal:4',
  reason: 'resume_failed',
  errorTag: 'ProviderAdapterProtocolError'
}

stdout | src/orchestration-v2/testkit/ProviderSwitch.integration.test.ts > orchestration v2 provider switching > keeps the latest turn when a resume fallback also delivers a missed request
[23:00:52.292] INFO (#50588): 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/testkit/ProviderSwitch.integration.test.ts > orchestration v2 provider switching > keeps the latest turn when a resume fallback also delivers a missed request
[23:00:52.420] WARN (#52053): Provider resume failed; attempting a fresh native session {
  driver: 'claudeAgent',
  providerThreadId: 'provider-thread:provider:claudeAgent:native-thread:pending%3Arun%3Athread%3Athread%253Aprovider-switch%3Aordinal%3A1',
  runId: 'run:thread:thread%3Aprovider-switch:ordinal:2',
  reason: 'resume_failed',
  errorTag: 'ProviderAdapterProtocolError'
}

stdout | src/orchestration-v2/testkit/ProviderSwitch.integration.test.ts > orchestration v2 provider switching > keeps the latest turn when a resume fallback also delivers a missed request
[23:00:52.428] ERROR (#52053): orchestration V2 provider turn start failed {
  runId: 'run:thread:thread%3Aprovider-switch:ordinal:2',
  cause: { _id: 'Cause', failures: [ [Object] ] }
}

stdout | src/orchestration-v2/testkit/ProviderSwitch.integration.test.ts > orchestration v2 provider switching > keeps the latest turn when a resume fallback also delivers a missed request
[23:00:52.438] WARN (#52082): Provider resume failed; attempting a fresh native session {
  driver: 'claudeAgent',
  providerThreadId: 'provider-thread:provider:claudeAgent:native-thread:pending%3Arun%3Athread%3Athread%253Aprovider-switch%3Aordinal%3A1',
  runId: 'run:thread:thread%3Aprovider-switch:ordinal:3',
  reason: 'resume_failed',
  errorTag: 'ProviderAdapterProtocolError'
}

stdout | src/orchestration-v2/testkit/ProviderSwitch.integration.test.ts > orchestration v2 provider switching > keeps the latest turn when a resume fallback also delivers a missed request
[23:00:52.540] WARN (#52226): Provider resume failed; attempting a fresh native session {
  driver: 'claudeAgent',
  providerThreadId: 'provider-thread:provider:claudeAgent:native-thread:pending%3Arun%3Athread%3Athread%253Aprovider-switch%3Aordinal%3A1',
  runId: 'run:thread:thread%3Aprovider-switch:ordinal:4',
  reason: 'resume_failed',
  errorTag: 'ProviderAdapterProtocolError'
}

stdout | src/orchestration-v2/testkit/ProviderSwitch.integration.test.ts > orchestration v2 provider switching > keeps the native session after turns refused for background work
[23:00:52.642] INFO (#53438): 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/testkit/ProviderSwitch.integration.test.ts > orchestration v2 provider switching > keeps the native session after turns refused for background work
[23:00:52.774] ERROR (#54896): orchestration V2 provider turn start failed {
  runId: 'run:thread:thread%3Aprovider-switch:ordinal:2',
  cause: { _id: 'Cause', failures: [ [Object] ] }
}

stdout | src/orchestration-v2/testkit/ProviderSwitch.integration.test.ts > orchestration v2 provider switching > keeps the native session after turns refused for background work
[23:00:52.824] ERROR (#54914): orchestration V2 provider turn start failed {
  runId: 'run:thread:thread%3Aprovider-switch:ordinal:3',
  cause: { _id: 'Cause', failures: [ [Object] ] }
}

stdout | src/orchestration-v2/testkit/ProviderSwitch.integration.test.ts > orchestration v2 provider switching > keeps the native session after turns refused for an unreadable append file
[23:00:52.967] INFO (#56244): 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/testkit/ProviderSwitch.integration.test.ts > orchestration v2 provider switching > keeps the native session after turns refused for an unreadable append file
[23:00:53.101] ERROR (#57702): orchestration V2 provider turn start failed {
  runId: 'run:thread:thread%3Aprovider-switch:ordinal:2',
  cause: { _id: 'Cause', failures: [ [Object] ] }
}

stdout | src/orchestration-v2/testkit/ProviderSwitch.integration.test.ts > orchestration v2 provider switching > keeps the native session after turns refused for an unreadable append file
[23:00:53.149] ERROR (#57720): orchestration V2 provider turn start failed {
  runId: 'run:thread:thread%3Aprovider-switch:ordinal:3',
  cause: { _id: 'Cause', failures: [ [Object] ] }
}

stdout | src/orchestration-v2/testkit/ProviderSwitch.integration.test.ts > orchestration v2 provider switching > hands off failed context immediately to a new provider via text
[23:00:53.299] INFO (#59050): 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/testkit/ProviderSwitch.integration.test.ts > orchestration v2 provider switching > hands off failed context through the queue to a returning provider via native history
[23:00:53.582] INFO (#61801): 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/testkit/ProviderSwitch.integration.test.ts > orchestration v2 provider switching > hands off interrupted context immediately to a returning provider via text
[23:00:53.939] INFO (#64650): 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/testkit/ProviderSwitch.integration.test.ts > orchestration v2 provider switching > hands off interrupted context through the queue to a new provider via native history
[23:00:54.348] INFO (#67505): 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/testkit/ProviderSwitch.integration.test.ts > orchestration v2 provider switching > checks the queued provider's capability while the current provider stays running
[23:00:54.647] INFO (#70282): 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/testkit/ProviderSwitch.integration.test.ts > orchestration v2 provider switching > checks the queued provider's capability while the current provider stays running
[23:00:54.764] INFO (#72777): 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/testkit/ProviderSwitch.integration.test.ts > orchestration v2 provider switching > hands completed Grok steering context to earlier queued Codex and later Claude
[23:00:54.881] INFO (#75272): 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/testkit/ProviderSwitch.integration.test.ts > orchestration v2 provider switching > resumes a queued account switch without requiring a portable handoff
[23:00:55.209] INFO (#78076): 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/testkit/ProviderSwitch.integration.test.ts > orchestration v2 provider switching > finishes earlier queued Codex turns before handing context to queued Claude
[23:00:55.426] INFO (#80738): 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/testkit/ProviderSwitch.integration.test.ts > orchestration v2 provider switching > delivers a queued PR update on the current provider through automatic (Claude)
[23:00:55.791] INFO (#83587): 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/testkit/ProviderSwitch.integration.test.ts > orchestration v2 provider switching > delivers a queued PR update on the current provider through queue.resume (compatible Codex)
[23:00:56.082] INFO (#86341): 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/testkit/ProviderSwitch.integration.test.ts > orchestration v2 provider switching > fails an unsupported queued handoff and advances to the next queued provider
[23:00:56.315] INFO (#89011): 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/testkit/ProviderSwitch.integration.test.ts > orchestration v2 provider switching > reissues imported v1 context when a queued provider starts after the first provider fails
[23:00:56.546] INFO (#91659): 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/testkit/ProviderSwitch.integration.test.ts > orchestration v2 provider switching > reissues imported v1 context when a queued provider starts after the first provider fails
[23:00:56.743] WARN (#92880): Failed to react to V2 run update {
  threadId: 'thread:provider-switch:legacy-import',
  sequence: 67,
  cause: { _id: 'Cause', failures: [ [Object] ] }
}

 ✓ src/orchestration-v2/testkit/ProviderSwitch.integration.test.ts (33 tests) 10720ms
   ✓ orchestration v2 provider switching (33)
     ✓ preserves handoffs through compact-native 340ms
     ✓ preserves handoffs through compact-legacy 378ms
     ✓ preserves handoffs through large-current-input 376ms
     ✓ preserves handoffs through screenshot-option-change-retry-native 434ms
     ✓ preserves handoffs through prior-images-reasoning-change-replacement-small-native 334ms
     ✓ preserves handoffs through imported-prior-images-fallback 361ms
     ✓ preserves handoffs through prior-images-telemetry-native 362ms
     ✓ preserves handoffs through prior-images-unsent-native 346ms
     ✓ preserves handoffs through prior-images-legacy-replacement-native 561ms
     ✓ recovers turn-start failure without duplicating history in the same native thread 345ms
     ✓ recovers injection failure without duplicating history in the same native thread 347ms
     ✓ recovers large-missed-request failure without duplicating history in the same native thread 357ms
     ✓ starts a replacement native thread as new after the resume fallback with native attempts 313ms
     ✓ keeps the latest turn when a resume fallback also delivers an older handoff 376ms
     ✓ keeps the latest turn when a resume fallback also delivers a missed request 351ms
     ✓ keeps the native session after turns refused for background work 324ms
     ✓ keeps the native session after turns refused for an unreadable append file 331ms
     ✓ hands off failed context through the queue to a returning provider via native history 354ms
     ✓ hands off interrupted context immediately to a returning provider via text 409ms
     ✓ hands off interrupted context through the queue to a new provider via native history 303ms
     ✓ hands completed Grok steering context to earlier queued Codex and later Claude 329ms
     ✓ finishes earlier queued Codex turns before handing context to queued Claude 368ms

 Test Files  1 passed (1)
      Tests  33 passed (33)
   Start at  23:00:42
   Duration  13.75s (tests 78%, transform 15%, import 7%)


~/apps/server$ vp test run 'src/cloud/CliTokenManager.test.ts' ◉ remote cache hit, replaying

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

 ✓ src/cloud/CliTokenManager.test.ts (6 tests) 19ms

 Test Files  1 passed (1)
      Tests  6 passed (6)
   Start at  22:46:14
   Duration  388ms (import 59%, transform 27%, setup 8%, tests 6%, worker 1%)


~/apps/server$ vp test run 'src/provider/providerStatusCache.test.ts' ◉ remote cache hit, replaying

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

 ✓ src/provider/providerStatusCache.test.ts (4 tests) 5ms

 Test Files  1 passed (1)
      Tests  4 passed (4)
   Start at  22:46:16
   Duration  300ms (import 68%, transform 19%, setup 11%, tests 2%, worker 1%)


~/apps/server$ vp test run 'src/orchestration-v2/ProviderTurnStartService.test.ts' ○ cache miss: 'packages/provider-grok/src/server/status.ts' modified, executing

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

stdout | src/orchestration-v2/ProviderTurnStartService.test.ts > recreates a missing worktree only at the managed location: <managed>/<repo>/<branch>
[23:01:00.248] WARN (#1): provider turn start recreating missing worktree {
  threadId: 'thread_provider_turn_start_projection_failure',
  worktreePath: '/tmp/provider-turn-start-worktrees/project/feature-restore',
  branch: 'feature/restore'
}

stdout | src/orchestration-v2/ProviderTurnStartService.test.ts > recreates a missing worktree only at the managed location: the real path of a symlinked managed fo…
[23:01:00.251] WARN (#19): provider turn start recreating missing worktree {
  threadId: 'thread_provider_turn_start_projection_failure',
  worktreePath: '/real-worktrees/project/feature-restore',
  branch: 'feature/restore'
}

 ✓ src/orchestration-v2/ProviderTurnStartService.test.ts (34 tests) 51ms

 Test Files  1 passed (1)
      Tests  34 passed (34)
   Start at  23:00:59
   Duration  1.19s (import 70%, transform 23%, tests 4%, setup 2%)


~/apps/server$ vp test run 'src/auth/PairingGrantStore.test.ts' ◉ remote cache hit, replaying

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

 ✓ src/auth/PairingGrantStore.test.ts (6 tests) 162ms

 Test Files  1 passed (1)
      Tests  6 passed (6)
   Start at  22:46:18
   Duration  534ms (import 41%, tests 33%, transform 19%, setup 6%)


~/apps/server$ vp test run 'src/provider/ProviderInstanceRegistry.test.ts' ○ cache miss: 'package.json' modified, executing

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

 ✓ src/provider/ProviderInstanceRegistry.test.ts (9 tests) 639ms

 Test Files  1 passed (1)
      Tests  9 passed (9)
   Start at  23:01:01
   Duration  1.44s (tests 46%, import 40%, transform 12%, setup 2%)


~/apps/server$ vp test run 'src/orchestration-v2/IdleCompaction.test.ts' ○ cache miss: 'package.json' modified, executing

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

 ✓ src/orchestration-v2/IdleCompaction.test.ts (1 test) 2ms

 Test Files  1 passed (1)
      Tests  1 passed (1)
   Start at  23:01:03
   Duration  279ms (import 66%, transform 21%, setup 11%, tests 1%, worker 1%)


~/apps/server$ vp test run 'src/provider/Drivers/AntigravityDriver.test.ts' ○ cache miss: 'packages/provider-core/src/server/subagentProjection.ts' modified, executing

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

 ✓ src/provider/Drivers/AntigravityDriver.test.ts (4 tests) 865ms
   ✓ AntigravityDriver (4)
     ✓ refreshes through the selected executable and personal Google ACP 426ms

 Test Files  1 passed (1)
      Tests  4 passed (4)
   Start at  23:01:04
   Duration  1.41s (tests 64%, import 24%, transform 10%, setup 2%)


~/apps/server$ vp test run 'src/observability/OtlpEndpointCheck.test.ts' ◉ remote cache hit, replaying

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

 ✓ src/observability/OtlpEndpointCheck.test.ts (5 tests) 32ms

 Test Files  1 passed (1)
      Tests  5 passed (5)
   Start at  22:15:25
   Duration  342ms (import 61%, transform 18%, tests 11%, setup 9%, worker 1%)


~/apps/server$ vp test run 'src/project/ManagedProjectFolders.test.ts' ○ cache miss: 'apps/server/src/config.ts' modified, executing

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

 ✓ src/project/ManagedProjectFolders.test.ts (12 tests) 476ms

 Test Files  1 passed (1)
      Tests  12 passed (12)
   Start at  23:01:07
   Duration  1.76s (import 50%, tests 28%, transform 21%, setup 2%)


~/apps/server$ vp test run 'src/mcp/McpToolAccess.race.test.ts' ○ cache miss: 'packages/effect-codex-app-server/src/protocol.ts' modified, executing

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

 ✓ src/mcp/McpToolAccess.race.test.ts (1 test) 77ms

 Test Files  1 passed (1)
      Tests  1 passed (1)
   Start at  23:01:10
   Duration  1.53s (import 60%, transform 32%, tests 5%, setup 2%)


~/apps/server$ vp test run 'src/persistence/Sqlite.test.ts' ○ cache miss: 'apps/server/src/config.ts' modified, executing

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

 ✓ src/persistence/Sqlite.test.ts (1 test) 55ms

 Test Files  1 passed (1)
      Tests  1 passed (1)
   Start at  23:01:12
   Duration  378ms (import 57%, transform 18%, tests 17%, setup 8%, worker 1%)


~/apps/server$ vp test run 'src/device/deviceToolMaintenance.test.ts' ○ cache miss: 'scripts/package.json' modified, executing

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

 ✓ src/device/deviceToolMaintenance.test.ts (8 tests) 261ms

 Test Files  1 passed (1)
      Tests  8 passed (8)
   Start at  23:01:13
   Duration  559ms (tests 51%, import 33%, transform 10%, setup 5%)


~/apps/server$ vp test run 'src/usage/usagePricing.test.ts' ○ cache miss: 'mcp-tool-use-cases' removed from 'apps/server/scripts', executing

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

 ✓ src/usage/usagePricing.test.ts (12 tests) 4ms

 Test Files  1 passed (1)
      Tests  12 passed (12)
   Start at  23:01:14
   Duration  159ms (import 47%, setup 24%, transform 24%, tests 4%, worker 2%)


~/apps/server$ vp test run 'src/persistence/Migrations.test.ts' ○ cache miss: 'package.json' modified, executing

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

 ✓ src/persistence/Migrations.test.ts (7 tests) 133ms

 Test Files  1 passed (1)
      Tests  7 passed (7)
   Start at  23:01:15
   Duration  439ms (import 43%, tests 34%, transform 15%, setup 7%)


~/apps/server$ vp test run 'src/cloud/ConnectReachability.test.ts' ○ cache miss: 'package.json' modified, executing

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

 ✓ src/cloud/ConnectReachability.test.ts (6 tests) 4ms

 Test Files  1 passed (1)
      Tests  6 passed (6)
   Start at  23:01:16
   Duration  337ms (import 62%, transform 26%, setup 9%, tests 1%, worker 1%)


~/apps/server$ vp test run 'src/secrets/SecretRequests.test.ts' ○ cache miss: 'apps/server/src/orchestration-v2/Orchestrator.ts' modified, executing

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

 ✓ src/secrets/SecretRequests.test.ts (14 tests) 29ms

 Test Files  1 passed (1)
      Tests  14 passed (14)
   Start at  23:01:17
   Duration  1.18s (import 73%, transform 22%, tests 3%, setup 2%)


~/apps/server$ vp test run 'src/orchestration-v2/testkit/ThreadFork.integration.test.ts' ○ cache miss: 'apps/server/src/telemetry/AnalyticsService.ts' modified, executing

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

 ✓ src/orchestration-v2/testkit/ThreadFork.integration.test.ts (4 tests) 2254ms
   ✓ orchestration V2 thread fork (4)
     ✓ creates an idle app fork and resolves it with Claude native session fork on first dispatch 544ms
     ✓ forks a Codex native thread at the selected native turn boundary 550ms
     ✓ keeps a Claude native fork stable when the source thread rolls back 494ms
     ✓ rolls back a Claude native fork to an earlier fork-local turn 665ms

 Test Files  1 passed (1)
      Tests  4 passed (4)
   Start at  23:01:19
   Duration  3.50s (tests 65%, import 24%, transform 9%, setup 1%)


~/apps/server$ vp test run 'src/claudeModelOptions.test.ts' ○ cache miss: 'packages/contracts/src/orchestrationV2.ts' modified, executing

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

 ✓ src/claudeModelOptions.test.ts (3 tests) 2ms

 Test Files  1 passed (1)
      Tests  3 passed (3)
   Start at  23:01:23
   Duration  408ms (import 67%, transform 24%, setup 8%, tests 1%, worker 1%)


~/apps/server$ vp test run 'src/pullRequest/PullRequestReviewGuideService.test.ts' ○ cache miss: 'advertisedJsonSchema.test.ts' removed from 'apps/server/src/mcp', executing

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

stdout | src/pullRequest/PullRequestReviewGuideService.test.ts > PullRequestReviewGuideService
[23:01:25.182] INFO (#9): 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/pullRequest/PullRequestReviewGuideService.test.ts > PullRequestReviewGuideService > refuses to write a guide for a branch named like the short head
[23:01:25.340] WARN (#483): Review guide generation failed {
  key: 'github.com/acme/refused-head#7',
  cause: 'PullRequestOperationError: Pull request operation generateReviewGuide failed: Could not find head 38e9d84effeb of #7. local objects: 38e9d84effeb names f11b4c66087d0ee1fc99d8c770156de32ccc6852 here, a branch or tag rather than the commit. branch feature: 38e9d84effeb names f11b4c66087d0ee1fc99d8c770156de32ccc6852 here, a branch or tag rather than the commit. refs/pull/7/head: Git command exited with a non-zero status.\n' +
    '    at /home/runner/_work/t3code/t3code/apps/server/src/pullRequest/PullRequestReviewGuideService.ts:275:21\n' +
    '    at PullRequestReviewGuideService.fetchHead (/home/runner/_work/t3code/t3code/apps/server/src/pullRequest/PullRequestReviewGuideService.ts:280:33)\n' +
    '    at PullRequestReviewGuideService.fetchHead (definition) (/home/runner/_work/t3code/t3code/apps/server/src/pullRequest/PullRequestReviewGuideService.ts:227:30)\n' +
    '    at PullRequestReviewGuideService.checkoutHead (/home/runner/_work/t3code/t3code/apps/server/src/pullRequest/PullRequestReviewGuideService.ts:378:42)\n' +
    '    at PullRequestReviewGuideService.checkoutHead (definition) (/home/runner/_work/t3code/t3code/apps/server/src/pullRequest/PullRequestReviewGuideService.ts:154:31)\n' +
    '    at PullRequestReviewGuideService.write (/home/runner/_work/t3code/t3code/apps/server/src/pullRequest/PullRequestReviewGuideService.ts:495:12)\n' +
    '    at PullRequestReviewGuideService.write (definition) (/home/runner/_work/t3code/t3code/apps/server/src/pullRequest/PullRequestReviewGuideService.ts:353:24)\n' +
    '    at PullRequestReviewGuideService.generate (/home/runner/_work/t3code/t3code/apps/server/src/pullRequest/PullRequestReviewGuideService.test.ts:248:18)\n' +
    '    at PullRequestReviewGuideService.generate (definition) (/home/runner/_work/t3code/t3code/apps/server/src/pullRequest/PullRequestReviewGuideService.ts:424:81)'
}

stdout | src/pullRequest/PullRequestReviewGuideService.test.ts > PullRequestReviewGuideService > refuses to write a guide for a tag named like the short head
[23:01:25.486] WARN (#688): Review guide generation failed {
  key: 'github.com/acme/refused-head#7',
  cause: 'PullRequestOperationError: Pull request operation generateReviewGuide failed: Could not find head 38e9d84effeb of #7. local objects: 38e9d84effeb names f11b4c66087d0ee1fc99d8c770156de32ccc6852 here, a branch or tag rather than the commit. branch feature: 38e9d84effeb names f11b4c66087d0ee1fc99d8c770156de32ccc6852 here, a branch or tag rather than the commit. refs/pull/7/head: Git command exited with a non-zero status.\n' +
    '    at /home/runner/_work/t3code/t3code/apps/server/src/pullRequest/PullRequestReviewGuideService.ts:275:21\n' +
    '    at PullRequestReviewGuideService.fetchHead (/home/runner/_work/t3code/t3code/apps/server/src/pullRequest/PullRequestReviewGuideService.ts:280:33)\n' +
    '    at PullRequestReviewGuideService.fetchHead (definition) (/home/runner/_work/t3code/t3code/apps/server/src/pullRequest/PullRequestReviewGuideService.ts:227:30)\n' +
    '    at PullRequestReviewGuideService.checkoutHead (/home/runner/_work/t3code/t3code/apps/server/src/pullRequest/PullRequestReviewGuideService.ts:378:42)\n' +
    '    at PullRequestReviewGuideService.checkoutHead (definition) (/home/runner/_work/t3code/t3code/apps/server/src/pullRequest/PullRequestReviewGuideService.ts:154:31)\n' +
    '    at PullRequestReviewGuideService.write (/home/runner/_work/t3code/t3code/apps/server/src/pullRequest/PullRequestReviewGuideService.ts:495:12)\n' +
    '    at PullRequestReviewGuideService.write (definition) (/home/runner/_work/t3code/t3code/apps/server/src/pullRequest/PullRequestReviewGuideService.ts:353:24)\n' +
    '    at PullRequestReviewGuideService.generate (/home/runner/_work/t3code/t3code/apps/server/src/pullRequest/PullRequestReviewGuideService.test.ts:248:18)\n' +
    '    at PullRequestReviewGuideService.generate (definition) (/home/runner/_work/t3code/t3code/apps/server/src/pullRequest/PullRequestReviewGuideService.ts:424:81)'
}

stdout | src/pullRequest/PullRequestReviewGuideService.test.ts > PullRequestReviewGuideService > refuses to write a guide for a head that is not a commit hash
[23:01:25.609] WARN (#888): Review guide generation failed {
  key: 'github.com/acme/refused-head#7',
  cause: 'PullRequestOperationError: Pull request operation generateReviewGuide failed: The host reported a head for #7 that is not a commit hash.\n' +
    '    at /home/runner/_work/t3code/t3code/apps/server/src/pullRequest/PullRequestReviewGuideService.ts:234:23\n' +
    '    at PullRequestReviewGuideService.fetchHead (/home/runner/_work/t3code/t3code/apps/server/src/pullRequest/PullRequestReviewGuideService.ts:280:33)\n' +
    '    at PullRequestReviewGuideService.fetchHead (definition) (/home/runner/_work/t3code/t3code/apps/server/src/pullRequest/PullRequestReviewGuideService.ts:227:30)\n' +
    '    at PullRequestReviewGuideService.checkoutHead (/home/runner/_work/t3code/t3code/apps/server/src/pullRequest/PullRequestReviewGuideService.ts:378:42)\n' +
    '    at PullRequestReviewGuideService.checkoutHead (definition) (/home/runner/_work/t3code/t3code/apps/server/src/pullRequest/PullRequestReviewGuideService.ts:154:31)\n' +
    '    at PullRequestReviewGuideService.write (/home/runner/_work/t3code/t3code/apps/server/src/pullRequest/PullRequestReviewGuideService.ts:495:12)\n' +
    '    at PullRequestReviewGuideService.write (definition) (/home/runner/_work/t3code/t3code/apps/server/src/pullRequest/PullRequestReviewGuideService.ts:353:24)\n' +
    '    at PullRequestReviewGuideService.generate (/home/runner/_work/t3code/t3code/apps/server/src/pullRequest/PullRequestReviewGuideService.test.ts:248:18)\n' +
    '    at PullRequestReviewGuideService.generate (definition) (/home/runner/_work/t3code/t3code/apps/server/src/pullRequest/PullRequestReviewGuideService.ts:424:81)'
}

stdout | src/pullRequest/PullRequestReviewGuideService.test.ts > PullRequestReviewGuideService > refuses to write a guide for a head no source has
[23:01:25.760] WARN (#1063): Review guide generation failed {
  key: 'github.com/acme/refused-head#7',
  cause: 'PullRequestOperationError: Pull request operation generateReviewGuide failed: Could not find head eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee of #7. local objects: Git command exited with a non-zero status. the commit: Git command exited with a non-zero status. branch feature: Git command exited with a non-zero status. refs/pull/7/head: Git command exited with a non-zero status.\n' +
    '    at /home/runner/_work/t3code/t3code/apps/server/src/pullRequest/PullRequestReviewGuideService.ts:275:21\n' +
    '    at PullRequestReviewGuideService.fetchHead (/home/runner/_work/t3code/t3code/apps/server/src/pullRequest/PullRequestReviewGuideService.ts:280:33)\n' +
    '    at PullRequestReviewGuideService.fetchHead (definition) (/home/runner/_work/t3code/t3code/apps/server/src/pullRequest/PullRequestReviewGuideService.ts:227:30)\n' +
    '    at PullRequestReviewGuideService.checkoutHead (/home/runner/_work/t3code/t3code/apps/server/src/pullRequest/PullRequestReviewGuideService.ts:378:42)\n' +
    '    at PullRequestReviewGuideService.checkoutHead (definition) (/home/runner/_work/t3code/t3code/apps/server/src/pullRequest/PullRequestReviewGuideService.ts:154:31)\n' +
    '    at PullRequestReviewGuideService.write (/home/runner/_work/t3code/t3code/apps/server/src/pullRequest/PullRequestReviewGuideService.ts:495:12)\n' +
    '    at PullRequestReviewGuideService.write (definition) (/home/runner/_work/t3code/t3code/apps/server/src/pullRequest/PullRequestReviewGuideService.ts:353:24)\n' +
    '    at PullRequestReviewGuideService.generate (/home/runner/_work/t3code/t3code/apps/server/src/pullRequest/PullRequestReviewGuideService.test.ts:248:18)\n' +
    '    at PullRequestReviewGuideService.generate (definition) (/home/runner/_work/t3code/t3code/apps/server/src/pullRequest/PullRequestReviewGuideService.ts:424:81)'
}

stdout | src/pullRequest/PullRequestReviewGuideService.test.ts > PullRequestReviewGuideService > measures only the PR change using the renamed verified remote's fetch URL
[23:01:25.901] INFO (#1332): Review guide could not read a stack layer's head {
  layer: 9,
  detail: 'Could not find head ffffffffffffffffffffffffffffffffffffffff of #9. local objects: Git command exited with a non-zero status. the commit: Git command exited with a non-zero status. branch gone: Git command exited with a non-zero status. refs/pull/9/head: Git command exited with a non-zero status.'
}

stdout | src/pullRequest/PullRequestReviewGuideService.test.ts > PullRequestReviewGuideService > refuses generation when the verified remote disappeared despite a usable origin
[23:01:26.035] WARN (#1590): Review guide generation failed {
  key: 'github.com/acme/app#7',
  cause: "PullRequestOperationError: Pull request operation generateReviewGuide failed: This project's checkout no longer has a remote for the pull request's repository.\n" +
    '    at /home/runner/_work/t3code/t3code/apps/server/src/pullRequest/PullRequestReviewGuideService.ts:185:21\n' +
    '    at PullRequestReviewGuideService.checkoutHead (/home/runner/_work/t3code/t3code/apps/server/src/pullRequest/PullRequestReviewGuideService.ts:378:42)\n' +
    '    at PullRequestReviewGuideService.checkoutHead (definition) (/home/runner/_work/t3code/t3code/apps/server/src/pullRequest/PullRequestReviewGuideService.ts:154:31)\n' +
    '    at PullRequestReviewGuideService.write (/home/runner/_work/t3code/t3code/apps/server/src/pullRequest/PullRequestReviewGuideService.ts:495:12)\n' +
    '    at PullRequestReviewGuideService.write (definition) (/home/runner/_work/t3code/t3code/apps/server/src/pullRequest/PullRequestReviewGuideService.ts:353:24)\n' +
    '    at PullRequestReviewGuideService.generate (/home/runner/_work/t3code/t3code/apps/server/src/pullRequest/PullRequestReviewGuideService.test.ts:503:24)\n' +
    '    at PullRequestReviewGuideService.generate (definition) (/home/runner/_work/t3code/t3code/apps/server/src/pullRequest/PullRequestReviewGuideService.ts:424:81)'
}

 ✓ src/pullRequest/PullRequestReviewGuideService.test.ts (7 tests) 972ms

 Test Files  1 passed (1)
      Tests  7 passed (7)
   Start at  23:01:24
   Duration  1.57s (tests 64%, import 24%, transform 10%, setup 2%)


~/apps/server$ vp test run 'src/orchestration-v2/RunFinalizationQueue.test.ts' ○ cache miss: 'packages/effect-codex-app-server/src/protocol.ts' modified, executing

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

 ✓ src/orchestration-v2/RunFinalizationQueue.test.ts (2 tests) 69ms

 Test Files  1 passed (1)
      Tests  2 passed (2)
   Start at  23:01:26
   Duration  1.26s (import 70%, transform 22%, tests 6%, setup 2%)


~/apps/server$ vp test run 'src/provider/antigravityAuthSupport.test.ts' ○ cache miss: 'packages/contracts/src/orchestrationV2.ts' modified, executing

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

 ✓ src/provider/antigravityAuthSupport.test.ts (26 tests) 232ms

 Test Files  1 passed (1)
      Tests  26 passed (26)
   Start at  23:01:28
   Duration  557ms (tests 46%, import 36%, transform 12%, setup 6%)


~/apps/server$ vp test run 'src/orchestration-v2/ProjectionStore.test.ts' ○ cache miss: 'vite.config.ts' modified, executing

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

 ✓ src/orchestration-v2/ProjectionStore.test.ts (46 tests) 679ms

 Test Files  1 passed (1)
      Tests  46 passed (46)
   Start at  23:01:30
   Duration  1.37s (tests 51%, import 31%, transform 15%, setup 2%)


~/apps/server$ vp test run 'src/provider/Drivers/AntigravitySkills.test.ts' ○ cache miss: 'apps/server/node_modules/@t3tools/shared/package.json' modified, executing

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

 ✓ src/provider/Drivers/AntigravitySkills.test.ts (11 tests) 62ms

 Test Files  1 passed (1)
      Tests  11 passed (11)
   Start at  23:01:32
   Duration  228ms (import 36%, tests 35%, setup 15%, transform 13%, worker 1%)


~/apps/server$ vp test run 'src/orchestration-v2/BackgroundWorkStop.integration.test.ts' ○ cache miss: 'apps/server/src/orchestration-v2/ProjectionStore.ts' modified, executing

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

 ✓ src/orchestration-v2/BackgroundWorkStop.integration.test.ts (11 tests) 4185ms
   ✓ Stop recovers a stalled run after returned-interrupt without changing a newer attempt 2187ms

 Test Files  1 passed (1)
      Tests  11 passed (11)
   Start at  23:01:32
   Duration  5.40s (tests 78%, import 16%, transform 5%, setup 1%)


~/apps/server$ vp test run 'src/project/ProjectSetupScriptRunner.test.ts' ○ cache miss: 'apps/server/src/observability/Metrics.ts' modified, executing

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

 ✓ src/project/ProjectSetupScriptRunner.test.ts (6 tests) 14ms

 Test Files  1 passed (1)
      Tests  6 passed (6)
   Start at  23:01:38
   Duration  1.09s (import 74%, transform 22%, setup 3%, tests 1%)


~/apps/server$ vp test run 'src/mcp/OrchestratorMcpToolkit.integration.test.ts' ○ cache miss: 'packages/effect-codex-app-server/src/client.ts' modified, executing

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

stdout | src/mcp/OrchestratorMcpToolkit.integration.test.ts > orchestrator MCP toolkit > reports distinct child results
[23:01:41.863] INFO (#73): 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/mcp/OrchestratorMcpToolkit.integration.test.ts > orchestrator MCP toolkit > reports distinct child results
[23:01:42.307] WARN (#4139): orchestration V2 provider event ingestion failed {
  runId: 'run:thread:thread%3Amcp-orchestrator-parent:ordinal:1',
  cause: { _id: 'Cause', failures: [ [Object] ] }
}
[23:01:42.308] WARN (#4139): orchestration V2 failed to interrupt turn after ingestion failure {
  runId: 'run:thread:thread%3Amcp-orchestrator-parent:ordinal:1',
  cause: { _id: 'Cause', failures: [ [Object] ] }
}

stdout | src/mcp/OrchestratorMcpToolkit.integration.test.ts > orchestrator MCP toolkit > reports distinct child results
[23:01:42.382] ERROR (#1): [Error [SchemaError]: Expected object] {
  issue: InvalidType {
    '~effect/SchemaIssue/Issue': '~effect/SchemaIssue/Issue',
    _tag: 'InvalidType',
    ast: Objects {
      '~effect/Schema': '~effect/Schema',
      annotations: undefined,
      checks: undefined,
      encoding: undefined,
      context: undefined,
      _tag: 'Objects',
      propertySignatures: [Array],
      indexSignatures: [],
      encodingChecks: undefined
    }
  },
  _tag: 'SchemaError',
  '~effect/Schema/SchemaError': '~effect/Schema/SchemaError',
  [cause]: undefined
}

stdout | src/mcp/OrchestratorMcpToolkit.integration.test.ts > orchestrator MCP toolkit > reports identical child results
[23:01:42.429] INFO (#9201): 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/mcp/OrchestratorMcpToolkit.integration.test.ts > orchestrator MCP toolkit > reports identical child results
[23:01:42.758] WARN (#13267): orchestration V2 provider event ingestion failed {
  runId: 'run:thread:thread%3Amcp-orchestrator-parent:ordinal:1',
  cause: { _id: 'Cause', failures: [ [Object] ] }
}
[23:01:42.758] WARN (#13267): orchestration V2 failed to interrupt turn after ingestion failure {
  runId: 'run:thread:thread%3Amcp-orchestrator-parent:ordinal:1',
  cause: { _id: 'Cause', failures: [ [Object] ] }
}

stdout | src/mcp/OrchestratorMcpToolkit.integration.test.ts > orchestrator MCP toolkit > reports identical child results
[23:01:42.827] ERROR (#9129): [Error [SchemaError]: Expected object] {
  issue: InvalidType {
    '~effect/SchemaIssue/Issue': '~effect/SchemaIssue/Issue',
    _tag: 'InvalidType',
    ast: Objects {
      '~effect/Schema': '~effect/Schema',
      annotations: undefined,
      checks: undefined,
      encoding: undefined,
      context: undefined,
      _tag: 'Objects',
      propertySignatures: [Array],
      indexSignatures: [],
      encodingChecks: undefined
    }
  },
  _tag: 'SchemaError',
  '~effect/Schema/SchemaError': '~effect/Schema/SchemaError',
  [cause]: undefined
}

 ❯ src/mcp/OrchestratorMcpToolkit.integration.test.ts (2 tests | 2 failed) 1031ms
   ❯ orchestrator MCP toolkit (2)
     × reports distinct child results 586ms
     × reports identical child results 444ms

⎯⎯⎯⎯⎯⎯⎯ Failed Tests 2 ⎯⎯⎯⎯⎯⎯⎯

 FAIL  src/mcp/OrchestratorMcpToolkit.integration.test.ts > orchestrator MCP toolkit > reports distinct child results

 Test Files  1 failed (1)
      Tests  2 failed (2)
   Start at  23:01:40
   Duration  2.31s (tests 46%, import 40%, transform 14%, setup 1%)

 FAIL  src/mcp/OrchestratorMcpToolkit.integration.test.ts > orchestrator MCP toolkit > reports identical child results
SchemaError: Expected object
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/2]⎯


---
vp run: 4/32 cache hit (12%, 4 remote), 31/32 successful, 2.26s saved. @t3tools/monorepo#test-cache:7259353b96722a3c3b2f92cfcf7a33de9492a50298d25df92d30c63b7148b5f2 (and 25 more) not uploaded to the remote cache: HTTP status 503. (Run `vp run --last-details` for full details)

Error: Process completed with exit code 1.
▸ Run actions/upload-artifact@v7
with:
  name: test-cache-2
  path: /home/runner/_work/_temp/test-cache-2.json
  if-no-files-found: error
  compression-level: 6
  overwrite: false
  include-hidden-files: false
  archive: true
env:
  BLACKSMITH_RUNNER_MESSAGE_WAIT_MS: 174
  BLACKSMITH_RUNNER_ACQUIRE_JOB_MS: 477
  GITHUB_REPO_NAME: pingdotgg/t3code
  BASH_ENV: /home/runner/_work/_temp/t3-task-cache.sh
  VP_REMOTE_CACHE: read-write
With the provided path, there will be 1 file uploaded
Artifact name is valid!
Root directory input is valid!
Uploading artifact: test-cache-2.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 3521
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is 0accb07ddd3fb77a79b7f899f3f3cb1071409ceb945a4e3b4aeac3ed6bff2a56
Finalizing artifact upload
Artifact test-cache-2 successfully finalized. Artifact ID 12617930877
Artifact test-cache-2 has been successfully uploaded! Final size is 3521 bytes. Artifact ID is 12617930877
Artifact download URL: https://github.com/pingdotgg/t3code/actions/runs/40242734717/artifacts/12617930877
▸ 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: 174
  BLACKSMITH_RUNNER_ACQUIRE_JOB_MS: 477
  GITHUB_REPO_NAME: pingdotgg/t3code
  BASH_ENV: /home/runner/_work/_temp/t3-task-cache.sh
  VP_REMOTE_CACHE: read-write
Post job cleanup.
##[start-action display=Cache full pnpm store;id=__4a495a57-b6d4-4b68-a884-6877b4036b33.__actions_cache]
##[end-action id=__4a495a57-b6d4-4b68-a884-6877b4036b33.__actions_cache;outcome=skipped;conclusion=skipped;duration_ms=0]
##[start-action display=Cache Vite+;id=__4a495a57-b6d4-4b68-a884-6877b4036b33.vp_cache]
##[end-action id=__4a495a57-b6d4-4b68-a884-6877b4036b33.vp_cache;outcome=skipped;conclusion=skipped;duration_ms=0]
Post job cleanup.
[command]/usr/local/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/_work/_temp/df8008e4-f80a-430c-8afc-9747462e630c' 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: 174
  BLACKSMITH_RUNNER_ACQUIRE_JOB_MS: 477
  BLACKSMITH_CHECK_RUN_ID: 121317839594
  BLACKSMITH_JOB_DISPLAY_NAME: Test Server 2
  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