GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — [Bug]: Provider switches omit visible history from cancelled runs · Issue #34009 · pingdotgg/t3code Closed DescriptionBefore submitting
Areaapps/server Steps to reproduce
This was observed during a Claude-to-Codex switch. It also reproduces without live provider calls in the existing ProviderSwitch integration harness, using an adapter that emits a response and a cancelled terminal event. Expected behaviorA provider switch retains visible history from a started run, with its cancelled status recorded. Queued requests cancelled before they start and rolled-back history should remain excluded. Actual behaviorThe started cancelled run is excluded before the handoff budget is applied. The new provider receives neither its prompt nor its response. The handoff can report zero omitted items because the lost run never enters history selection. At main commit 1fed70c, isHandoffSourceRun in apps/server/src/orchestration-v2/Orchestrator.ts accepts completed, failed and interrupted runs, but excludes cancelled runs. The same predicate controls immediate provider switching and queued promotion. ImpactMajor degradation. A provider change silently loses visible investigation results and instructions, forcing rediscovery and potentially changing the answer. Version or commitObserved on 0.1.1-nightly.20261019.3360. Confirmed in upstream main at 1fed70c. EnvironmentLinux x64, T3 Code through the Codex harness. Regression tests use temporary SQLite databases and test adapters; no live provider or production state is required. Regression evidenceExtending the existing "hands off" integration table with cancelled source runs produced two failures on main, for immediate switching to a new provider and queued switching to a returning provider. Both failed because the handoff was undefined. Including cancelled runs only when startedAt is non-null makes those cases pass. The extended table also cancels a separate queued request before it starts and verifies that its prompt is absent from delivered history. WorkaroundRecover the earlier messages with t3_thread_read and reintroduce the missing context manually. Created with gpt-6.1-sol in the Codex harness through T3 Code. ActivityMetadataMetadataAssigneesLabelsNo labels TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |