Skip to content

Sync upstream T3 Code (d73e41a3fa) - #12

Merged
bradleygibsongit merged 286 commits into
mainfrom
sync/upstream
Nov 24, 2026
Merged

bradleygibsongit merged 286 commits into
mainfrom
sync/upstream

Conversation

@bradleygibsongit

@bradleygibsongit bradleygibsongit commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Merges 285 new upstream commit(s) from pingdotgg/t3code main into BlueCode.

This pull request merges itself once CI passes, which publishes a new BlueCode release. Opened by scripts/bluecode-sync-upstream.sh.

Conflicts resolved

Upstream's behaviour is kept, with BlueCode's changes re-applied on top:

  • apps/server/src/cli/service.test.ts, apps/server/src/cli/uninstall.test.ts, apps/server/src/cloud/bootService.test.ts: upstream's new cases, with the ~/.bluecode home, bluecode.service and bluecode-PC-theo task names.
  • apps/web/src/components/ChatView.tsx: BlueCode's hoisted composer context strip stays; upstream's workspaceModesOffered and draftSupportedRuntimeModes are applied to it.
  • apps/web/src/components/ComposerContextPermissions.tsx: upstream's controlled menu state plus BlueCode's composer.mode focus handling.
  • apps/web/src/components/chat/ChatHeader.tsx, apps/web/src/hooks/useThreadActionMenu.ts: BlueCode's "…" thread-actions menu stays; the native menu now passes upstream's ContextMenuSource through.
  • apps/web/tsconfig.json, pnpm-lock.yaml: both sides' entries.
  • scripts/build-desktop-artifact.ts: upstream's new NSAppleEventsUsageDescription, worded for BlueCode.
  • docs/operations/observability.md: deleted, as upstream replaced it with 04_observability.md; BlueCode's ~/.bluecode paths are carried over, and bluecode-release.md links to the renamed 03_release.md.

Two tests upstream added outside the conflicts assumed the ~/.t3 home and are adjusted: apps/server/src/device/sshDeviceScript.test.ts, packages/ssh/src/tunnel.test.ts.

Checked locally: typecheck, knip:check, i18n:check, lint on the touched files, and the server, desktop, ssh, web and build-script tests around them.

juliusmarminge and others added 30 commits November 23, 2026 01:13
…e agent as text (#41340)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Shantanu Ojha <shantanuojha@Shantanus-MacBook-Pro.local>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…indow (#41252)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
… data (#41280)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…t storm (#41281)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…rge thread (#41282)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ssion in a terminal (#38528)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…s GitHub again (#41364)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: geezoria <25051260+geezoria@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ients (#41378)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
… (#41397)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…S (#39008)

Co-authored-by: shoham-utila <91195275+shoham-utila@users.noreply.github.com>
Co-authored-by: juliusmarminge <51714798+juliusmarminge@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: vultronforce <273871018+vultronforce@users.noreply.github.com>
…n-runnable t3 on PATH (#41402)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…window (#40347)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
… (#40728)

Co-authored-by: kacigaya <163902005+kacigaya@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
tiliakoos and others added 25 commits November 23, 2026 20:37
…oken character (#41901)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…tarted (#41857)

Co-authored-by: hj-smith <hj-smith@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…#41860)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…41899)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…aracter (#41903)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…9662)

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
…(#41907)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…e (#41916)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…#41791)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ne/total (#41714)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…715)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…(#41924)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: maria-rcks <maria@kuuro.net>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
… page (#41931)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
# Conflicts:
#	apps/server/src/cli/service.test.ts
#	apps/server/src/cli/uninstall.test.ts
#	apps/server/src/cloud/bootService.test.ts
#	apps/web/src/components/ChatView.tsx
#	apps/web/src/components/ComposerContextPermissions.tsx
#	apps/web/src/components/chat/ChatHeader.tsx
#	apps/web/src/hooks/useThreadActionMenu.ts
#	apps/web/tsconfig.json
#	docs/operations/observability.md
#	pnpm-lock.yaml
#	scripts/build-desktop-artifact.ts
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-24T06:14:55.242056Z b490f7c 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.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b490f7cd69

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +1151 to +1154
const gitFile = yield* fs.readFileString(path.join(adminDir, "gitdir")).pipe(
Effect.map((gitdir) => path.resolve(adminDir, gitdir.trim())),
Effect.option,
);

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Preserve metadata when the worktree ownership check is unreadable

If a previously recorded metadata directory is reused by a recreated worktree and its gitdir file is unreadable—for example, a container created it as root with mode 0600—Effect.option converts the permission error into None. The code then skips the live-worktree check and recursively deletes the active metadata directory, including its index. An unreadable file can still be deleted when its containing directory is writable. Only treat a missing gitdir as absent; propagate other read failures so the retry preserves the metadata and reports the failure.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Not changing this here. removeLeftover is T3 Code's code and arrives unchanged in this merge (BlueCode's only edits to storageCleanup.ts are the import-marker checks further down), so the same behaviour ships upstream. The case is narrow: a recorded leftover whose name a recreated worktree reused, with a gitdir file this user cannot read. Patching it in the fork would diverge an upstream file that every daily sync has to re-merge; if upstream fixes it, the next sync brings it in.

@bradleygibsongit
bradleygibsongit merged commit fdc18a1 into main Nov 24, 2026
20 checks passed
@bradleygibsongit
bradleygibsongit deleted the sync/upstream branch November 24, 2026 06:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.