GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — chore(sync): merge upstream main through 61c3794c by yvesoddly · Pull Request #28 · issuelt/t3code

chore(sync): merge upstream main through 61c3794c #28

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Sign up for GitHub

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
yvesoddly merged 37 commits into main from sync/upstream-main-20261102c
Nov 3, 2026

Uh oh!

There was an error while loading. Please reload this page.

Merged

chore(sync): merge upstream main through 61c3794c #28

Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
84547b9
fix(server): Codex usage keeps requests from interrupted turns (#29415)
juliusmarminge Nov 3, 2026
1436c45
fix(client-runtime): connect to the primary environment while the bro…
juliusmarminge Nov 3, 2026
48c8cf7
fix(server): a failed worktree add no longer leaves its new branch be…
juliusmarminge Nov 3, 2026
8c9945d
fix(provider-acp): Kiro's html_render pages show in the thread (#28253)
juliusmarminge Nov 3, 2026
f80be8e
fix(server): streamed Browser clicks no longer wait behind queued whe…
juliusmarminge Nov 3, 2026
997e3f3
fix(server): Codex turns that fail with an unlisted error code no lon…
juliusmarminge Nov 3, 2026
503488d
fix(opencode): sessions open through OpenCode 2 after an in-place upg…
juliusmarminge Nov 3, 2026
607e373
fix(server): T3 Connect not-linked fix no longer tells Desktop users …
juliusmarminge Nov 3, 2026
371e945
fix(server): anchor Claude wake cooldowns to result arrival (#25061)
juliusmarminge Nov 3, 2026
16fd1a4
fix(web): match new-thread hero to selected checkout (#25064)
juliusmarminge Nov 3, 2026
d3d7f03
fix(server): stop PR lookups in emptied worktree folders (#24803)
juliusmarminge Nov 3, 2026
71a7bf9
fix(server): agent session scans no longer hang the server on an unre…
juliusmarminge Nov 3, 2026
371c9a9
docs(connect): held webhooks are kept per managed link (#23612)
juliusmarminge Nov 3, 2026
0ad3dc1
fix(server): delegated children keep replies after their parent settl…
juliusmarminge Nov 3, 2026
6e58094
fix(preview): explain invalid URLs and locators (#23396)
juliusmarminge Nov 3, 2026
296b089
fix(web): terminal controls no longer cover the first line (#23373)
juliusmarminge Nov 3, 2026
93a3e8f
fix(server): stop maintaining the unused event correlation index (#23…
juliusmarminge Nov 3, 2026
46212dd
docs(mcp): document existing recurring-task tools (#23199)
juliusmarminge Nov 3, 2026
c0ec87a
fix(server): release the previous session when sending to another ins…
juliusmarminge Nov 3, 2026
692dd9c
fix(claude): a background-task wake run no longer hangs after a user …
maria-rcks Nov 3, 2026
78aee8a
fix(server): OpenCode no longer drops a $skill read before its direct…
juliusmarminge Nov 3, 2026
b492e28
fix(server): coalesced webhook runs use the prompt saved before dispa…
juliusmarminge Nov 3, 2026
d5afb1a
fix(server): slow forge CLI calls no longer delay checkpoints and tur…
juliusmarminge Nov 3, 2026
0c863d6
fix(relay): T3 Connect repairs tunnel ingress that drifted from a mat…
juliusmarminge Nov 3, 2026
6f4bc77
fix(provider-core): npm-installed Claude in ~/.local gets npm updates…
juliusmarminge Nov 3, 2026
acd2db9
fix(server): git hooks keep the user's locale (#27778)
juliusmarminge Nov 3, 2026
18ac394
fix(pi): hold messages until compaction ends (#24388)
juliusmarminge Nov 3, 2026
fd63914
fix(server): show why Claude refuses full access as root (#23804)
juliusmarminge Nov 3, 2026
10f3657
fix(server): preview click timeouts identify the target (#23489)
juliusmarminge Nov 3, 2026
30767c2
fix(cursor): supporting files no longer hide sibling skills (#23326)
juliusmarminge Nov 3, 2026
689bdb8
fix(web): usage-limit retry notice shows the timezone (#23029)
juliusmarminge Nov 3, 2026
bb221f0
fix(server): preserve nested Claude subagent completion across turns …
juliusmarminge Nov 3, 2026
c3e1e0a
fix(opencode): publish ordered pending-work snapshots (#21460)
juliusmarminge Nov 3, 2026
53e168f
fix(opencode): decode compaction history from OpenCode 2.1 (#22661)
juliusmarminge Nov 3, 2026
3e1e776
fix(server): import valid conversations within each transcript record…
juliusmarminge Nov 3, 2026
61c3794
fix(server): imported Claude sessions resume on their first turn (#23…
juliusmarminge Nov 3, 2026
519f74c
Merge upstream pingdotgg/t3code main into fork (through 61c3794c)
yvesoddly Nov 3, 2026
File filter
Filter by extension

Clear filters
Conversations
Failed to load comments.
Loading

Uh oh!

There was an error while loading. Please reload this page.

Jump to
Jump to file
Failed to load files.
Loading

Uh oh!

There was an error while loading. Please reload this page.

Diff view
Diff view
Prev Previous commit
Next Next commit
fix(opencode): sessions open through OpenCode 2 after an in-place upg…
…rade from 1.x (pingdotgg#27779)

Co-authored-by: Claude Opus 5.5 <[email protected]>
  • Loading branch information

Uh oh!

There was an error while loading. Please reload this page.

@juliusmarminge @claude
juliusmarminge and claude authored Nov 3, 2026
commit 503488d7a3926537d1d13f763f69b8e12458d7b3

There are no files selected for viewing

42 changes: 41 additions & 1 deletion 42 packages/provider-opencode/src/server/driver.test.ts
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@ import * as NodePath from "node:path";
import * as NodeCrypto from "@effect/platform-node/NodeCrypto";
import * as NodeServices from "@effect/platform-node/NodeServices";
import { assert, it } from "@effect/vitest";
import { DEFAULT_SERVER_SETTINGS, ProviderInstanceId } from "@t3tools/contracts";
import {
DEFAULT_SERVER_SETTINGS,
ProviderInstanceId,
ProviderSessionId,
ThreadId,
} from "@t3tools/contracts";
import type { OpenCodeSettings } from "../settings.ts";
import * as HostProcess from "@t3tools/shared/HostProcess";
import * as Deferred from "effect/Deferred";
Expand Down Expand Up @@ -575,4 +580,39 @@ it.layer(layerUpdate)("OpenCodeDriver updates", (it) => {
assert.isNull(v2.update);
}).pipe(Effect.scoped),
);

it.effect(
"opens sessions through OpenCode 2 after the binary is upgraded in place from 1.x",
() =>
Effect.gen(function* () {
versionOutput.current = "1.18.18\n";
const instance = yield* create({}, noHttp);
// Let the startup status check claim the refresh permit, then wait behind it so it
// cannot probe after the upgrade below.
yield* Effect.yieldNow;
yield* instance.snapshot.refresh;
serverStarts.length = 0;
const openSession = instance.orchestrationAdapter
.openSession({
threadId: ThreadId.make("thread-upgraded"),
providerSessionId: ProviderSessionId.make("session-upgraded"),
modelSelection: { instanceId: instance.instanceId, model: "opencode/big-pickle" },
runtimePolicy: { runtimeMode: "full-access", interactionMode: "default", cwd: null },
})
.pipe(Effect.scoped, Effect.flip);

yield* openSession;
assert.deepStrictEqual(serverStarts, ["connect"], "1.x opens through the 1.x adapter");

versionOutput.current = "opencode v2.2.4\n";
serverStarts.length = 0;
yield* openSession;
assert.notInclude(
serverStarts,
"connect",
"after upgrading to 2.x, the next session must not open through the 1.x adapter",
);
assert.include(serverStarts, "start", "the OpenCode 2 adapter starts its server");
}).pipe(Effect.scoped),
);
});
7 changes: 4 additions & 3 deletions 7 packages/provider-opencode/src/server/versionProbe.test.ts
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,9 @@ describe("OpenCode version probe", () => {
}),
);

it.effect("remembers a probed runtime but never a failure", () =>
it.effect("remembers a probed 2.x runtime but re-probes 1.x and failures", () =>
Effect.gen(function* () {
const outputs = ["", "opencode v2.0.18\n", "1.18.32\n"];
const outputs = ["", "opencode v2.0.18\n", "1.18.32\n", "1.18.32\n"];
let calls = 0;
const runtime = {
runOpenCodeCommand: () => {
Expand Down Expand Up @@ -190,8 +190,9 @@ describe("OpenCode version probe", () => {
assert.strictEqual((yield* probe.get).generation, "v2");
assert.strictEqual(calls, 2);
assert.strictEqual((yield* probe.refresh).generation, "v1");
assert.strictEqual((yield* probe.get).generation, "v1");
assert.strictEqual(calls, 3);
assert.strictEqual((yield* probe.get).generation, "v1");
assert.strictEqual(calls, 4);
}),
);
});
5 changes: 4 additions & 1 deletion 5 packages/provider-opencode/src/server/versionProbe.ts
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -172,11 +172,14 @@ export const probeOpenCodeRuntime = (
? probeOpenCodeServer(settings.serverUrl, settings.serverPassword)
: probeOpenCodeBinary(settings.binaryPath, environment);

// Only 2.x is kept: 1.x can be upgraded in place while T3 runs, and 2.x converts the shared
// database, so going back is unsupported.
export const makeOpenCodeRuntimeProbe = <E>(probe: Effect.Effect<ProbedOpenCode, E>) =>
Effect.map(
Cache.makeWith(() => probe, {
capacity: 1,
timeToLive: (exit) => (Exit.isSuccess(exit) ? Duration.infinity : Duration.zero),
timeToLive: (exit) =>
Exit.isSuccess(exit) && exit.value.generation === "v2" ? Duration.infinity : Duration.zero,
}),
(cache) => ({
get: Cache.get(cache, undefined),
Expand Down
Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments. Suggestions cannot be applied while the pull request is queued to merge. Suggestion cannot be applied right now. Please check back later.
You are visitor 01402809 — 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.