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

Conversation

@yvesoddly

@yvesoddly yvesoddly commented Nov 3, 2026 •
edited by blacksmith-sh Bot
Loading

Uh oh!

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

Copy link
Copy Markdown

The fork was 36 commits behind pingdotgg/t3code main.

Upstream main through 61c3794. The merge had no conflicts. Nine files changed on both sides and auto-merged (the Claude adapter, provider session manager, orchestrator, usage service, draft hero headline, timeline work rows, and the orchestrator MCP doc). Upstream's new migration 078 doesn't collide with any fork migration.

Carried PRs: scripts/fork-carried-prs.ts reports all 8 unchanged against their upstream heads, and none were closed.

vp run check:changed passes format, lint, knip and typecheck (37 packages). Focused tests for the auto-merged server files pass (432 tests). Two test failures are environmental:

  • The Playwright browser suite fails because this host has no Chromium.
  • One OpenCode driver test (upstream's new in-place 1.x to 2 upgrade test) reads the host's OpenCode Go key and makes an HTTP call. It passes with an isolated XDG_DATA_HOME, and provider-opencode is identical to upstream.

🤖 Generated with Claude Code (Claude Opus 5.5)


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Sorry, something went wrong.

Uh oh!

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

chatgpt-codex-connector[bot] and greptile-apps[bot] reacted with thumbs up emoji
All reactions
  • 👍 2 reactions
juliusmarminge and others added 30 commits November 2, 2026 18:29
@juliusmarminge @claude
fix(server): Codex usage keeps requests from interrupted turns (pingd…
84547b9
…otgg#29415)

Co-authored-by: Claude Opus 5.5 <[email protected]>
@juliusmarminge @claude
fix(client-runtime): connect to the primary environment while the bro…
1436c45
…wser reports offline (pingdotgg#29347)

Co-authored-by: Claude Opus 5.5 <[email protected]>
@juliusmarminge @claude
fix(server): a failed worktree add no longer leaves its new branch be…
48c8cf7
…hind (pingdotgg#28373)

Co-authored-by: Claude Opus 5.5 <[email protected]>
@juliusmarminge @claude
fix(provider-acp): Kiro's html_render pages show in the thread (pingd…
8c9945d
…otgg#28253)

Co-authored-by: Claude Opus 5.5 <[email protected]>
@juliusmarminge @claude
fix(server): streamed Browser clicks no longer wait behind queued whe…
f80be8e
…el bursts (pingdotgg#28236)

Co-authored-by: Claude Opus 5.5 <[email protected]>
@juliusmarminge @claude
fix(server): Codex turns that fail with an unlisted error code no lon…
997e3f3
…ger stay running (pingdotgg#28040)

Co-authored-by: Claude Opus 5.5 <[email protected]>
@juliusmarminge @claude
fix(opencode): sessions open through OpenCode 2 after an in-place upg…
503488d
…rade from 1.x (pingdotgg#27779)

Co-authored-by: Claude Opus 5.5 <[email protected]>
@juliusmarminge @claude
fix(server): T3 Connect not-linked fix no longer tells Desktop users …
607e373
…to run t3 service restart (pingdotgg#27660)

Co-authored-by: Claude Opus 5.5 <[email protected]>
@juliusmarminge @claude
fix(server): anchor Claude wake cooldowns to result arrival (pingdotg…
371e945
…g#25061)

Co-authored-by: Claude Opus 5.5 <[email protected]>
@juliusmarminge @claude
fix(web): match new-thread hero to selected checkout (pingdotgg#25064)
16fd1a4
Co-authored-by: Claude Opus 5.5 <[email protected]>
@juliusmarminge @claude
fix(server): stop PR lookups in emptied worktree folders (pingdotgg#2…
d3d7f03
…4803)

Co-authored-by: Claude Opus 5.5 <[email protected]>
@juliusmarminge @claude
fix(server): agent session scans no longer hang the server on an unre…
71a7bf9
…adable .git/config (pingdotgg#23690)

Co-authored-by: Claude Opus 5.5 <[email protected]>
@juliusmarminge @claude
docs(connect): held webhooks are kept per managed link (pingdotgg#23612)
371c9a9
Co-authored-by: Claude Opus 5.5 <[email protected]>
@juliusmarminge @claude
fix(server): delegated children keep replies after their parent settl…
0ad3dc1
…es (pingdotgg#23456)

Co-authored-by: Claude Opus 5.5 <[email protected]>
@juliusmarminge @claude
fix(preview): explain invalid URLs and locators (pingdotgg#23396)
6e58094
Co-authored-by: Claude Opus 5.5 <[email protected]>
@juliusmarminge @claude
fix(web): terminal controls no longer cover the first line (pingdotgg…
296b089
…#23373)

Co-authored-by: Claude Opus 5.5 <[email protected]>
@juliusmarminge @claude
fix(server): stop maintaining the unused event correlation index (pin…
93a3e8f
…gdotgg#23211)

Co-authored-by: Claude Opus 5.5 <[email protected]>
@juliusmarminge @claude
docs(mcp): document existing recurring-task tools (pingdotgg#23199)
46212dd
Co-authored-by: Claude Opus 5.5 <[email protected]>
@juliusmarminge @claude
fix(server): release the previous session when sending to another ins…
c0ec87a
…tance (pingdotgg#23198)

Co-authored-by: Claude Opus 5.5 <[email protected]>
@maria-rcks
fix(claude): a background-task wake run no longer hangs after a user …
692dd9c
…turn absorbed its wake (pingdotgg#28010)

Co-authored-by: maria-rcks <[email protected]>
@juliusmarminge @claude
fix(server): OpenCode no longer drops a $skill read before its direct…
78aee8a
…ory scan ends (pingdotgg#29535)

Co-authored-by: Claude Opus 5.5 <[email protected]>
@juliusmarminge @claude
fix(server): coalesced webhook runs use the prompt saved before dispa…
b492e28
…tch (pingdotgg#29476)

Co-authored-by: Claude Opus 5.5 <[email protected]>
@juliusmarminge @claude
fix(server): slow forge CLI calls no longer delay checkpoints and tur…
d5afb1a
…n starts (pingdotgg#28431)

Co-authored-by: Claude Opus 5.5 <[email protected]>
@juliusmarminge @claude
fix(relay): T3 Connect repairs tunnel ingress that drifted from a mat…
0c863d6
…ching origin (pingdotgg#27961)

Co-authored-by: Claude Opus 5.5 <[email protected]>
@juliusmarminge @claude
fix(provider-core): npm-installed Claude in ~/.local gets npm updates (…
6f4bc77
…pingdotgg#27957)

Co-authored-by: Claude Opus 5.5 <[email protected]>
@juliusmarminge @claude
fix(server): git hooks keep the user's locale (pingdotgg#27778)
acd2db9
Co-authored-by: Claude Opus 5.5 <[email protected]>
@juliusmarminge @claude
fix(pi): hold messages until compaction ends (pingdotgg#24388)
18ac394
Co-authored-by: Claude Opus 5.5 <[email protected]>
@juliusmarminge @claude
fix(server): show why Claude refuses full access as root (pingdotgg#2…
fd63914
…3804)

Co-authored-by: Claude Opus 5.5 <[email protected]>
@juliusmarminge @claude
fix(server): preview click timeouts identify the target (pingdotgg#23489
10f3657
)

Co-authored-by: Claude Opus 5.5 <[email protected]>
@juliusmarminge @claude
fix(cursor): supporting files no longer hide sibling skills (pingdotg…
30767c2
…g#23326)

Co-authored-by: Claude Fable 5.1 <[email protected]>
juliusmarminge and others added 7 commits November 2, 2026 18:52
@juliusmarminge @claude
fix(web): usage-limit retry notice shows the timezone (pingdotgg#23029)
689bdb8
Co-authored-by: Claude Opus 5.5 <[email protected]>
@juliusmarminge @claude
fix(server): preserve nested Claude subagent completion across turns (p…
bb221f0
…ingdotgg#23561)

Co-authored-by: Claude Opus 5.5 <[email protected]>
@juliusmarminge @Exotic209093
Issue triage verification @claude
fix(opencode): publish ordered pending-work snapshots (pingdotgg#21460)
c3e1e0a
Co-authored-by: Exotic209093 <[email protected]>
Co-authored-by: Issue triage verification <triage@localhost>
Co-authored-by: Claude Opus 5.5 <[email protected]>
@juliusmarminge @claude
fix(opencode): decode compaction history from OpenCode 2.1 (pingdotgg…
53e168f
…#22661)

Co-authored-by: Claude Fable 5.1 <[email protected]>
@juliusmarminge @claude
fix(server): import valid conversations within each transcript record…
3e1e776
… limit (pingdotgg#23192)

Co-authored-by: Claude Opus 5.5 <[email protected]>
@juliusmarminge @claude
fix(server): imported Claude sessions resume on their first turn (pin…
61c3794
…gdotgg#23219)

Co-authored-by: Claude Opus 5.5 <[email protected]>
@yvesoddly
Merge upstream pingdotgg/t3code main into fork (through 61c3794)
519f74c
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 3, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-03T04:15:20.416798Z 519f74c PR opened
🔒 Security Review ✅ Completed 2026-11-03T04:14:52.290441Z 519f74c PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

All reactions

Sorry, something went wrong.

Uh oh!

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

@github-actions github-actions Bot added vouch:trusted Author is trusted by repo permissions or the VOUCHED list. size:XXL labels Nov 3, 2026
@greptile-apps

greptile-apps Bot commented Nov 3, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 4/5

[High impact] The sync changes shared server workflows used by provider sessions, usage, cloud endpoints, and repository tasks.

The PR appears safe to merge with non-blocking follow-ups for usage totals and the import guide.

Findings

  1. P2 First interrupted request goes uncounted ▶
  2. P2 Import guide gives wrong limit ▶
Fix with agent prompt
### Issue 1
apps/server/src/provider/Drivers/codexUsage.ts:94
If the first turn is interrupted after writing a `token_usage_record` but before its first `token_count`, the next turn can report a total covering both turns. With `previous === null`, `reconciled` accepts that total without checking the saved requests. This helper is skipped, so only the latest request is counted and usage totals stay too low.

Handle a missing baseline when the saved requests explain the full total, while keeping the checks that prevent counting inherited history.

### Issue 2
apps/server/src/project/AgentSessionScanner.ts:1032
The record limit now applies to each conversation file, but `docs/user/welcome-wizard.md` still says an import attempt reads at most 100,000 input records per project. The new test deliberately imports more than that across several files, so users planning a large import get the wrong limit.

Update the guide to say 100,000 records per file, alongside the unchanged batch limits.

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

Summary

Syncs upstream changes across provider sessions, usage totals, Git operations, previews, remote connections, and terminal controls.

  • Provider switches wait while the old session has background work.
  • Codex usage scans keep request details for later reconciliation.
  • Codex errors with new labels still reach the failed turn.
  • Worktree lookups use the project folder when a worktree is unavailable.
  • Git workflows keep working across more process and worktree cases.
  • Connect status reflects whether the managed tunnel is configured.
  • Managed tunnels restore ingress routes that drift from their saved origin.
  • Preview controls give clearer click-timeout guidance and combine compatible wheel input.
  • OpenCode sessions track compaction, skills, and pending background work.
  • Pi prompts wait until compaction ends instead of failing early.
  • Scheduled webhook deliveries keep their deduplication state across retries.
  • Primary environments keep checking their connection while the device reports offline.
  • Provider adapters share updated failure, model, and skill behavior.
  • Turn completion no longer waits for a slow pull-request lookup.
  • Thread screens show clearer time labels and terminal controls.
  • Migration 078 drops the unused orchestration event correlation index.

Review used source and test inspection; no tests or browser captures were run.

Reviews (1) · Last reviewed commit: "Merge upstream pingdotgg/t3code main int..." · Reviewed by Greptile

All reactions

Sorry, something went wrong.

Uh oh!

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

greptile-apps[bot]
greptile-apps Bot reviewed Nov 3, 2026
View reviewed changes
Comment thread apps/server/src/provider/Drivers/codexUsage.ts
pending: readonly CodexUnreportedRequest[] | undefined,
) {
if (
previous === null ||

@greptile-apps greptile-apps Bot Nov 3, 2026

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 First interrupted request goes uncounted

If the first turn is interrupted after writing a token_usage_record but before its first token_count, the next turn can report a total covering both turns. With previous === null, reconciled accepts that total without checking the saved requests. This helper is skipped, so only the latest request is counted and usage totals stay too low.

Handle a missing baseline when the saved requests explain the full total, while keeping the checks that prevent counting inherited history.

Prompt To Fix With AI
This is a comment left during a code review.
Path: apps/server/src/provider/Drivers/codexUsage.ts
Line: 94

Comment:
**First interrupted request goes uncounted**

If the first turn is interrupted after writing a `token_usage_record` but before its first `token_count`, the next turn can report a total covering both turns. With `previous === null`, `reconciled` accepts that total without checking the saved requests. This helper is skipped, so only the latest request is counted and usage totals stay too low.

Handle a missing baseline when the saved requests explain the full total, while keeping the checks that prevent counting inherited history.

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

Sorry, something went wrong.

Uh oh!

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

All reactions

@yvesoddly yvesoddly Nov 3, 2026

Copy link
Copy Markdown
Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed: with previous === null, reconciled only checks that the prefix is valid usage, so a pending token_usage_record from an interrupted first turn is never bridged and goes uncounted. This file is byte-identical to upstream main (pingdotgg#29415), and this is a sync PR, so the fix belongs upstream rather than as a fork divergence here. Not changing it in this PR.

Sorry, something went wrong.

Uh oh!

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

greptile-apps[bot] reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
Comment thread apps/server/src/project/AgentSessionScanner.ts
reader.write(decoder.decode());
recordCount += 1;
if (recordCount > recordLimit) return false;
if (recordCount > MAX_IMPORT_RECORDS) return false;

@greptile-apps greptile-apps Bot Nov 3, 2026

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Import guide gives wrong limit

The record limit now applies to each conversation file, but docs/user/welcome-wizard.md still says an import attempt reads at most 100,000 input records per project. The new test deliberately imports more than that across several files, so users planning a large import get the wrong limit.

Update the guide to say 100,000 records per file, alongside the unchanged batch limits.

Prompt To Fix With AI
This is a comment left during a code review.
Path: apps/server/src/project/AgentSessionScanner.ts
Line: 1032

Comment:
**Import guide gives wrong limit**

The record limit now applies to each conversation file, but `docs/user/welcome-wizard.md` still says an import attempt reads at most 100,000 input records per project. The new test deliberately imports more than that across several files, so users planning a large import get the wrong limit.

Update the guide to say 100,000 records per file, alongside the unchanged batch limits.

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

Sorry, something went wrong.

Uh oh!

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

All reactions

@yvesoddly yvesoddly Nov 3, 2026

Copy link
Copy Markdown
Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed: upstream pingdotgg#23192 made MAX_IMPORT_RECORDS per conversation file, but docs/user/welcome-wizard.md still says 100,000 input records per import attempt. Both files are identical to upstream main, and this is a sync PR, so the doc fix belongs upstream rather than as a fork divergence that would conflict on the next sync. Not changing it in this PR.

Sorry, something went wrong.

Uh oh!

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

greptile-apps[bot] reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@yvesoddly
yvesoddly merged commit 43bbbab into main Nov 3, 2026
13 checks passed

Uh oh!

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

@yvesoddly yvesoddly mentioned this pull request Nov 3, 2026
chore(sync): merge upstream main through e77a48e81a + PR #19907 usage credits #11
Closed
@eyeveil
eyeveil deleted the sync/upstream-main-20261102c branch November 4, 2026 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@greptile-apps greptile-apps[bot] greptile-apps[bot] left review comments

Uh oh!

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

Assignees

No one assigned

Labels

size:XXL vouch:trusted Author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

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

3 participants

@yvesoddly @juliusmarminge @maria-rcks
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 01402775 — 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.