Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
154 commits
Select commit Hold shift + click to select a range
9c3e743
refactor(web): ChatView's module-level helpers live in their own file…
juliusmarminge Oct 21, 2026
a97f7f8
refactor(web): ChatView's persistent terminal drawers live in their o…
juliusmarminge Oct 21, 2026
8da8f61
refactor(web): ChatView's right panel lives in its own component (#22…
juliusmarminge Oct 21, 2026
6b13e8f
refactor(web): ChatView's timeline follow and anchoring lives in useT…
juliusmarminge Oct 21, 2026
030be16
refactor(web): ChatView's machine and server-update banners live in u…
juliusmarminge Oct 21, 2026
bd7aab2
refactor(web): ChatView's subagent, goal, background-work and branch …
juliusmarminge Oct 21, 2026
91a0a29
refactor(web): ChatView's draft machine routing lives in useDraftEnvi…
juliusmarminge Oct 21, 2026
38b13e9
refactor(web): ChatView's send preparation is pure functions in ChatV…
juliusmarminge Oct 21, 2026
0b91504
refactor(web): the archived threads settings page lives in its own fi…
juliusmarminge Oct 21, 2026
568cbb4
refactor(web): the typography settings section lives in its own file …
juliusmarminge Oct 21, 2026
501f5c5
refactor(web): the appearance settings page lives in its own file (#2…
juliusmarminge Oct 21, 2026
381514e
refactor(web): the background activity setting and its dialog live in…
juliusmarminge Oct 21, 2026
9dc28a1
refactor(web): the connections page's pure helpers live in Connection…
juliusmarminge Oct 21, 2026
263eef2
refactor(web): authorized clients and endpoint rows live in their own…
juliusmarminge Oct 21, 2026
848e352
refactor(web): saved and T3 Connect environment rows live in their ow…
juliusmarminge Oct 21, 2026
efdda5e
perf(server): skip the macOS xcrun git shim (#22759)
t3dotgg Oct 21, 2026
6490a9e
docs(agents): read vendored .repos with git show when sparse-excluded…
t3dotgg Oct 21, 2026
21da306
fix(web): ⌘Z undoes a settle even when the composer has focus (#22607)
t3dotgg Oct 21, 2026
74541ba
feat(scripts): one command checks what the branch changed (#22767)
t3dotgg Oct 21, 2026
1f4eae7
fix(scripts): check:changed no longer skips knip after a removed impo…
t3dotgg Oct 21, 2026
1dfb572
perf(dev): faster first load for shared dev servers (#22776)
t3dotgg Oct 21, 2026
8fe4206
fix(server): stalled clones say "Stalled" instead of a frozen speed (…
t3dotgg Oct 21, 2026
a8bb769
fix(web): steers split a finished turn's work instead of stacking und…
t3dotgg Oct 21, 2026
e27a03e
fix(web): images on their own line no longer sit beside their label (…
t3dotgg Oct 21, 2026
688ee52
fix(release): include pnpm hook in Vercel uploads (#22813)
t3dotgg Oct 21, 2026
1688f96
fix(release): keep Vercel warnings out of deployment URLs (#22817)
t3dotgg Oct 21, 2026
96f09c6
fix(queue): send selected held messages when a thread is stopped (#22…
Yash-Singh1 Oct 21, 2026
066c8fc
fix(server): delegated Claude children follow your subagent cache TTL…
t3dotgg Oct 21, 2026
448b8a9
fix(server): t3 pair in a worktree no longer falls back to the live i…
t3dotgg Oct 21, 2026
370b9ae
fix(server): avoid expensive diff minimization in status refreshes (#…
voltcrash Oct 21, 2026
aacd1ee
fix(codex): keep every path of a multi-file patch (#22541)
only21mil Oct 21, 2026
588150e
fix(gitlab): merge request diffs page 30 files at a time so GitLab 15…
Mnigos Oct 21, 2026
2d40894
fix(server): keep Antigravity question options and no-custom-answer f…
fixfon Oct 21, 2026
1d9060b
fix(server): commit prompts no longer repeat CLAUDE.md when it matche…
t3dotgg Oct 21, 2026
b260a7c
fix(mcp): point a bare thread uuid at its mcp: thread in thread_not_f…
fixfon Oct 21, 2026
2f021ee
fix(opencode): out-of-funds failures show OpenCode's message instead …
fixfon Oct 21, 2026
35e5d62
fix(shared): accept a pasted ChatGPT callback URL that is missing htt…
Project516 Oct 21, 2026
a7c22f1
fix(server): the background service picks up JAVA_HOME from the login…
t3dotgg Oct 21, 2026
e822ba7
fix(server): answered questions say "already answered" instead of "no…
t3dotgg Oct 21, 2026
810e8f6
fix(desktop): an abandoned browser sign-in no longer blocks T3 Connec…
t3dotgg Oct 21, 2026
680152e
fix(server): agents get a short, current model list instead of a 55k-…
t3dotgg Oct 21, 2026
9179178
docs(agents): proof for a bug fix depends on the bug (#23008)
juliusmarminge Oct 21, 2026
fa42465
fix(server): removing a worktree on Windows no longer deletes what it…
SunkenInTime Oct 21, 2026
5a0d159
perf(web): a streaming thread re-renders only its own sidebar row (#2…
juliusmarminge Oct 21, 2026
0bdf33a
refactor(web): the add environment dialog owns its form state (#22686)
juliusmarminge Oct 21, 2026
4196708
fix(desktop): use Clerk's upstream fix for abandoned browser sign-ins…
wobsoriano Oct 21, 2026
d27c606
feat: show automation messages as compact timeline rows (#22638)
juliusmarminge Oct 21, 2026
e749245
feat(server,web,mobile): approvals in full access say why Claude aske…
juliusmarminge Oct 21, 2026
d13fc84
feat(claude): idle compaction has a global default and per-instance o…
juliusmarminge Oct 21, 2026
c19d997
perf(web): typing no longer re-renders the traits picker or attach bu…
juliusmarminge Oct 21, 2026
22fd2ac
refactor(web): the composer's layout and provider hooks live in their…
juliusmarminge Oct 21, 2026
0755f98
refactor(web): the prompt stash lives in useComposerStash (#23046)
juliusmarminge Oct 21, 2026
fa37002
refactor(web): composer context imports live in useComposerContextImp…
juliusmarminge Oct 21, 2026
98c494e
refactor(web): composer file intake lives in useComposerAttachmentInt…
juliusmarminge Oct 21, 2026
1444b3f
refactor(web): the composer's footer controls render in ComposerContr…
juliusmarminge Oct 21, 2026
e78f580
refactor(web): composer key handling lives in useComposerCommandKey (…
juliusmarminge Oct 21, 2026
f136d5a
refactor(web): ChatView's send paths live in useComposerSend (#23062)
juliusmarminge Oct 21, 2026
379a391
refactor(web): ChatView's terminal actions live in useChatTerminalAct…
juliusmarminge Oct 21, 2026
ebe828c
refactor(web): ChatView's right panel actions live in useRightPanelAc…
juliusmarminge Oct 21, 2026
92105d4
refactor(web): ChatView's snooze, settle, and checkout actions live i…
juliusmarminge Oct 21, 2026
9f087f7
refactor(web): ChatView's revert, rollback, and fork live in useTimel…
juliusmarminge Oct 21, 2026
5b8298c
refactor(web): ChatView's attachment preview handoff lives in useAtta…
juliusmarminge Oct 21, 2026
7be791c
refactor(web): ChatView's project clone banner lives in useProjectClo…
juliusmarminge Oct 21, 2026
976a601
refactor(web): ChatView's model, mode, and workspace choices live in …
juliusmarminge Oct 21, 2026
114f77f
refactor(web): ChatView's pull request checkout lives in usePullReque…
juliusmarminge Oct 21, 2026
9952a7a
refactor(web): ChatView's thread derivations are tested functions in …
juliusmarminge Oct 21, 2026
322d08d
refactor(web): ChatView's paste-to-focus, titlebar controls, and time…
juliusmarminge Oct 21, 2026
f54dfc0
fix(cursor): a closed-stream write in the Cursor SDK no longer stops …
t3dotgg Oct 21, 2026
c25ba72
fix(server): Codex no longer offers a one-click update for installs i…
koushikxd Oct 21, 2026
9892aca
fix(pi): declare properties on MCP tool schemas that omit them (#21822)
tlconde Oct 21, 2026
2936b90
fix(server): a desktop backend whose launcher died shuts down cleanly…
SunkenInTime Oct 21, 2026
71b8670
fix(mobile): chat feed no longer re-derives on every render (#22913)
t3dotgg Oct 21, 2026
9c6523d
docs(user): the outside agents guide says which addresses agents can …
Gourav224 Oct 21, 2026
60dc0a0
fix(server): HTML preview reports a browser start error instead of an…
t3dotgg Oct 21, 2026
0d876e0
fix(tailscale): a timed-out tailscale probe no longer outlives its ca…
t3dotgg Oct 21, 2026
8541f86
docs(composer): queued messages follow the Follow-up behavior setting…
t3dotgg Oct 21, 2026
f087810
fix(server): failed provider updates say why (#22506)
koushikxd Oct 21, 2026
da46db6
test(telemetry): keep fixture PIDs from colliding with the test worke…
only21mil Oct 21, 2026
2a27e15
fix(server): server tests resolve the macOS temp dir symlink (#21442)
nabettu Oct 21, 2026
aef8b6f
fix(scripts): mobile lint fails instead of passing when ktlint or det…
t3dotgg Oct 21, 2026
ee11fbd
fix(server): t3_thread_read clamps oversized page sizes instead of fa…
t3dotgg Oct 21, 2026
d0c5d7c
fix(mobile): opening a pull request no longer crashes with "Maximum u…
nabettu Oct 21, 2026
b9c1293
fix(web): PR Code tab keeps its files after a refresh with an unchang…
t3dotgg Oct 21, 2026
38d993f
fix(web): finished provider updates no longer leave a hidden spinner …
t3dotgg Oct 21, 2026
5c3721e
fix(composer): mentions of files like `posts.$postId.tsx` or `[id].ts…
t3dotgg Oct 21, 2026
5b715cc
refactor(web): resuming an interrupted run lives in its own hook (#23…
juliusmarminge Oct 21, 2026
36d1e2f
refactor(web): proposed-plan follow-ups and implement-in-new-thread l…
juliusmarminge Oct 21, 2026
ac23b74
refactor(web): multiple-model sends live in their own hook (#23094)
juliusmarminge Oct 21, 2026
beec3c8
refactor(web): the composer send reads its own settings and draft ins…
juliusmarminge Oct 21, 2026
b34f74c
refactor(web): ComposerControlsBar renders without a memo() wrapper (…
juliusmarminge Oct 21, 2026
764fff2
refactor(web): chat shortcuts live with the hooks that own their acti…
juliusmarminge Oct 21, 2026
a642ab2
refactor(web): ChatView's timeline banners render in ChatBannerLane (…
juliusmarminge Oct 21, 2026
968dd51
fix(web): the branch toolbar and thread details panel stay cached whi…
juliusmarminge Oct 21, 2026
1b22228
fix(server): scheduled tasks no longer jump to the top when toggled (…
t3dotgg Oct 21, 2026
22b89ef
fix(server): Forgejo and GitCafe pull requests link to their threads …
MarcoDotIO Oct 21, 2026
fb7f087
fix(server): pushes the remote refuses say why instead of a generic f…
t3dotgg Oct 21, 2026
1ee0241
fix(composer): typing a price no longer opens the skill menu (#21519)
MarcoDotIO Oct 21, 2026
a35066d
fix(web): thread details PR merge uses the last selected merge method…
tris203 Oct 21, 2026
bee9ce8
fix(web): a Usage toggle shortcut now goes back instead of staying on…
t3dotgg Oct 21, 2026
159f2b8
fix(web): quote comment box stays on screen for long code lines (#22149)
EtanHey Oct 21, 2026
86fa9e0
fix(web): right panel launcher letters open their surface instead of …
t3dotgg Oct 21, 2026
edce5f0
fix(web): ../ file links outside the workspace open as host files (#2…
t3dotgg Oct 21, 2026
6de7da5
fix(shared): recognize relative folder links with trailing slash (#22…
macodev00 Oct 21, 2026
1a44c40
fix(client): usage limits skip disabled connections (#22936)
M4NU5 Oct 21, 2026
7845898
fix(web): imported VS Code themes keep destructive buttons red (#21924)
lgollut Oct 21, 2026
855db96
fix(shared): Azure DevOps repositories with a space in the name list …
Tabonx Oct 21, 2026
2333f16
fix(opencode): cancelled todos no longer keep the todo list running (…
MarcoDotIO Oct 21, 2026
0f74ff8
fix(web): copy to machine clones the fork, not its upstream (#22492)
AKolenda Oct 21, 2026
1befc71
fix(server): JetBrains IDEs open file links at the right column (#22826)
levochkaa Oct 21, 2026
70e5e38
fix(server): sync pull request draft status changes (#22832)
Yash-Singh1 Oct 21, 2026
bd6940b
test(web): chat shortcut test types through the composer handle (#23126)
juliusmarminge Oct 21, 2026
a12d6ed
Merge commit from fork
juliusmarminge Oct 21, 2026
b5a226e
fix(source-control): merge messages drop Claude Code's current claude…
MarcoDotIO Oct 21, 2026
ed9b7ca
fix(build): pin Node 26.12.1 for development and standalone releases …
PixPMusic Oct 22, 2026
9cdd059
fix(mobile): keep Duo toolbar actions clear of workspace tabs (#22976)
juliusmarminge Oct 22, 2026
ec2fd4d
fix(mobile): respect Duo safe areas in overlays (#22977)
juliusmarminge Oct 22, 2026
eec07b6
fix(mobile): retain resting scroll offsets through Duo inset changes …
juliusmarminge Oct 22, 2026
61bdec0
fix(mobile): deliver the first tab selection after Duo folding (#22979)
juliusmarminge Oct 22, 2026
13eea3f
fix(mobile): use native full-width sheets on iPhone Duo (#22980)
juliusmarminge Oct 22, 2026
added62
fix(mobile): the pull requests tab's empty detail asks for a pull req…
juliusmarminge Oct 22, 2026
801701d
fix(mobile): the iPhone Duo keeps list titles through folds and unfol…
juliusmarminge Oct 22, 2026
9fa551a
fix(mobile): the iPhone Duo searches from a field at the bottom of it…
juliusmarminge Oct 22, 2026
37d6fce
fix(mobile): a closed search no longer risks freezing the app (#23146)
juliusmarminge Oct 22, 2026
5ed2ea2
fix(mobile): folding the Duo keeps the thread's end or the reader's l…
juliusmarminge Oct 22, 2026
e6c2aeb
fix(mobile): the iPhone Duo's search field and composer line up with …
juliusmarminge Oct 22, 2026
83a8501
fix(mobile): Screens 5.0.0-t3.36 stops an iPhone Duo unfold crash (#2…
juliusmarminge Oct 22, 2026
89fe509
fix(mobile): the iPhone Duo's inspector panes use the full column (#2…
juliusmarminge Oct 22, 2026
8acbefe
fix(gitcafe): show line counts on linked and listed pull requests (#2…
maria-rcks Oct 22, 2026
49e97d4
docs(import): correct conversation size and batch limits (#23226)
only21mil Oct 22, 2026
6f6f68a
fix(server): stop abandoned turns before continuing threads (#23169)
Yash-Singh1 Oct 22, 2026
f8e4834
feat(server): export how long runs take and how they end (#22094)
juliusmarminge Oct 22, 2026
6318bfc
fix(mobile): new-thread heading clears the iPad header (#23206)
juliusmarminge Oct 22, 2026
aa0158d
fix(pi): fork completed turns while the next turn is running (#23052)
juliusmarminge Oct 22, 2026
b295dd8
fix(mobile): drafts swipe to discard and every row move animates (#23…
juliusmarminge Oct 22, 2026
defb7e6
feat(server): webhook filters fan out over arrays with a [] path wild…
juliusmarminge Oct 22, 2026
3690c86
fix(web): Arabic and Hebrew text reads and navigates right to left (#…
yzn-h Oct 22, 2026
a98ebde
fix(client-runtime): refresh Git refs when the RPC session changes (#…
Yash-Singh1 Oct 22, 2026
05b697f
fix(web): cap list layout passes to prevent React error 185 (#23315)
Yash-Singh1 Oct 22, 2026
e075957
fix(mobile): align iPad composer without shifting on keyboard focus (…
juliusmarminge Oct 22, 2026
6e3c5e6
feat(gitcafe): request reviewers and apply labels on GitCafe pull req…
juliusmarminge Oct 22, 2026
a49d18c
fix(source-control): clones retry over HTTPS when the SSH key is refu…
juliusmarminge Oct 22, 2026
efa5381
fix(mobile): the iOS composer reopens where you left a long draft (#2…
shivamhwp Oct 22, 2026
002e941
fix(mobile): preserve new-thread drafts and native header layout (#23…
juliusmarminge Oct 22, 2026
6f75bcb
feat: ChatGPT Business usage limits offer a copyable admin request (#…
juliusmarminge Oct 22, 2026
3b95e78
fix(web): paused sidebar videos stop reloading after every command (#…
shivamhwp Oct 22, 2026
4040867
chore(typecheck): typescript is the tsc-rs drop-in, no effect-tsgo pa…
t3dotgg Oct 22, 2026
96bae54
fix(mobile): Dynamic Island status no longer wraps next to other Live…
t3dotgg Oct 22, 2026
83f118a
perf(web): streamed reply text no longer re-renders ChatView (#23117)
juliusmarminge Oct 22, 2026
ee33c4c
perf(web): visit marks during a reply no longer re-render ChatView (#…
juliusmarminge Oct 22, 2026
5ffe045
fix(server): a Claude agent stops when the server that started it die…
shivamhwp Oct 22, 2026
ff52547
fix(server): SSH hosts no longer keep every old 300 MB runtime after …
shivamhwp Oct 22, 2026
43879d9
fix(settings): older clients connect again after idle compaction mode…
juliusmarminge Oct 22, 2026
8d3b061
fix(mobile): unify draft and thread navigation and composer behavior …
juliusmarminge Oct 22, 2026
ad0b485
chore: merge upstream/main into fork
adampeterhiggins Oct 22, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 5 additions & 1 deletion .github/scripts/ci-changes.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
// node ci-changes.cjs --paths <file> --full run every Linux job, gate only the macOS lint
// node ci-changes.cjs changed paths unknown: run everything
//
// scripts/check-changed.ts requires the same decisions so local runs match CI.
//
// Every changed path maps to workspace packages, which then pull in their
// dependents from package.json. A path this file does not recognize runs
// everything, so a new root file or directory can only cost minutes.
Expand Down Expand Up @@ -201,4 +203,6 @@ function main() {
for (const [key, value] of Object.entries(outputs)) console.log(`${key}=${value}`);
}

main();
module.exports = { readWorkspace, decide };

if (require.main === module) main();
27 changes: 27 additions & 0 deletions .github/scripts/ci-changes.d.cts
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
interface WorkspacePackage {
readonly name: string;
readonly dir: string;
readonly hasTest: boolean;
readonly deps: ReadonlyArray<string>;
}

export function readWorkspace(): Array<WorkspacePackage>;

export function decide(
files: ReadonlyArray<string> | null,
packages: ReadonlyArray<WorkspacePackage>,
full: boolean,
): {
affected: Array<string>;
outputs: {
typecheck: boolean;
build: boolean;
test: boolean;
test_packages: string;
test_web: boolean;
test_server: boolean;
rust: boolean;
release_smoke: boolean;
mobile_native: boolean;
};
};
87 changes: 87 additions & 0 deletions .github/scripts/vercel-deployment-output.test.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
const assert = require("node:assert/strict");
const { spawnSync } = require("node:child_process");
const { mkdtempSync, readFileSync, rmSync, existsSync } = require("node:fs");
const { tmpdir } = require("node:os");
const { join } = require("node:path");
const { test } = require("node:test");

const release = readFileSync(join(__dirname, "../workflows/release.yml"), "utf8");
const preview = readFileSync(join(__dirname, "../workflows/web-preview.yml"), "utf8");
const stepPattern =
/ name: (?:Build staged deployment|Deploy preview)\n shell: bash\n run: \|\n((?: .*\n|\n)+)/g;
const steps = [
...Array.from(release.matchAll(stepPattern), (match, index) => [
index === 0 ? "hosted web" : "marketing",
match[1],
]),
...Array.from(preview.matchAll(stepPattern), (match) => ["web preview", match[1]]),
];
assert.equal(steps.length, 3, "Expected both release steps and the preview step");

const url = "https://t3code-fixture-pinglabs.vercel.app";
const warning = 'Error while parsing config file: "/runner/t3code/pnpm-lock.yaml"';

function runStep(script, stdout, exitCode = 0) {
const directory = mkdtempSync(join(tmpdir(), "t3-vercel-output-"));
const outputFile = join(directory, "output");
try {
const result = spawnSync(
"bash",
[
"-c",
'vp() { printf "%s\\n" "$FIXTURE_STDOUT"; return "$FIXTURE_EXIT"; }\n' +
'curl() { printf \'{"id":"fixture-project"}\\n\'; }\n' +
script.replace(/^ /gm, "").replace(/\$\{\{.*?\}\}/g, "fixture"),
],
{
encoding: "utf8",
env: {
PATH: process.env.PATH,
VERCEL_TOKEN: "fixture-token",
VERCEL_ORG_ID: "fixture-org",
VERCEL_PROJECT_ID: "fixture-project",
GITHUB_OUTPUT: outputFile,
FIXTURE_STDOUT: stdout,
FIXTURE_EXIT: String(exitCode),
},
},
);
assert.ifError(result.error);
return {
...result,
output: existsSync(outputFile) ? readFileSync(outputFile, "utf8") : "",
};
} finally {
rmSync(directory, { recursive: true, force: true });
}
}

for (const [name, script] of steps) {
for (const [label, stdout] of [
["plain URL", url],
["lockfile warning", `${warning}\n${url}`],
["trailing diagnostic", `${url}\nDone`],
]) {
test(`${name}: saves one deployment URL after ${label}`, () => {
const result = runStep(script, stdout);
assert.equal(result.status, 0, result.stderr);
assert.deepEqual(
result.output.split("\n").filter((line) => !line.startsWith("project_id=")),
[`deployment_url=${url}`, ""],
);
});
}

for (const [label, stdout, exitCode] of [
["missing URL", warning, 0],
["invalid URL", "https://example.invalid/deployment", 0],
["multiple URLs", `${url}\nhttps://other.vercel.app`, 0],
["failed deployment", url, 1],
]) {
test(`${name}: rejects ${label} without saving output`, () => {
const result = runStep(script, stdout, exitCode);
assert.notEqual(result.status, 0);
assert.equal(result.output, "");
});
}
}
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ jobs:
run: python3 -B .github/scripts/stage-preview-bundle.test.py

- name: Test release checks
run: node --test .github/scripts/check-nightly-release.test.cjs
run: node --test .github/scripts/check-nightly-release.test.cjs .github/scripts/vercel-deployment-output.test.cjs

- name: Finish installing browser secret helper build libraries
timeout-minutes: 5
Expand Down
11 changes: 3 additions & 8 deletions .github/workflows/release-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -253,18 +253,13 @@ jobs:
if [[ "${{ inputs.version }}" =~ -nightly\.[0-9]{8}\.[0-9]+$ ]]; then brand=nightly; fi
node scripts/apply-web-brand-assets.ts "$brand" apps/server/dist/client

# The single-executable is built with a Node that supports --build-sea
# (25.7+); the repo itself stays on the engines.node version. A native
# build injects into the runner's own Node; a Windows target downloads its
# node.exe.
# Setup Vite+ selects the exact engines.node version from package.json.
# Native builds embed that executable; cross-target builds download the
# same version for their target.
- name: Build CLI single-executable
if: inputs.cli_archive
shell: bash
env:
# The exact version, not a major: vp downloads it from nodejs.org/dist on
# the runner, and only exact versions have a dist directory. Keep in
# step with SEA_NODE_VERSION in apps/server/vite.config.ts.
VP_NODE_VERSION: "26.8.2"
# The executable bundles the server again, so it needs the same stamp
# as release.yml's JS bundle.
T3CODE_TELEMETRY_CHANNEL: ${{ github.repository == 'pingdotgg/t3code' && inputs.release_channel || 'dev' }}
Expand Down
18 changes: 16 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1072,7 +1072,7 @@ jobs:
fi

echo "Building hosted web app for $channel_name channel."
deployment_url="$(
deployment_output="$(
vp dlx vercel@53.1.1 deploy \
--archive=tgz \
--prod \
Expand All @@ -1091,6 +1091,13 @@ jobs:
--build-env "VITE_HOSTED_APP_URL=$router_url" \
--build-env "VITE_HOSTED_APP_CHANNEL=$channel_name"
)"
printf '%s\n' "$deployment_output"
# Vercel can print lockfile warnings to stdout before the deployment URL.
deployment_url="$(printf '%s\n' "$deployment_output" | grep -E '^https://[[:alnum:].-]+\.vercel\.app$')"
if [[ "$deployment_url" == *$'\n'* ]]; then
echo "Vercel returned multiple deployment URLs." >&2
exit 1
fi
echo "Staged $deployment_url."
echo "deployment_url=$deployment_url" >> "$GITHUB_OUTPUT"

Expand Down Expand Up @@ -1219,7 +1226,7 @@ jobs:
)"
export VERCEL_PROJECT_ID

deployment_url="$(
deployment_output="$(
vp dlx vercel@53.1.1 deploy \
--archive=tgz \
--prod \
Expand All @@ -1228,6 +1235,13 @@ jobs:
--token "$VERCEL_TOKEN" \
--scope "${VERCEL_TEAM_SLUG:-$VERCEL_ORG_ID}"
)"
printf '%s\n' "$deployment_output"
# Vercel can print lockfile warnings to stdout before the deployment URL.
deployment_url="$(printf '%s\n' "$deployment_output" | grep -E '^https://[[:alnum:].-]+\.vercel\.app$')"
if [[ "$deployment_url" == *$'\n'* ]]; then
echo "Vercel returned multiple deployment URLs." >&2
exit 1
fi
echo "Staged $deployment_url."
echo "deployment_url=$deployment_url" >> "$GITHUB_OUTPUT"
echo "project_id=$VERCEL_PROJECT_ID" >> "$GITHUB_OUTPUT"
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/web-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,20 @@ jobs:

vercel_scope="${VERCEL_TEAM_SLUG:-$VERCEL_ORG_ID}"

deployment_url="$(
deployment_output="$(
vp dlx vercel@53.1.1 deploy \
--archive=tgz \
--yes \
--token "$VERCEL_TOKEN" \
--scope "$vercel_scope"
)"
printf '%s\n' "$deployment_output"
# Vercel can print lockfile warnings to stdout before the deployment URL.
deployment_url="$(printf '%s\n' "$deployment_output" | grep -E '^https://[[:alnum:].-]+\.vercel\.app$')"
if [[ "$deployment_url" == *$'\n'* ]]; then
echo "Vercel returned multiple deployment URLs." >&2
exit 1
fi

echo "Deployed $deployment_url"
echo "deployment_url=$deployment_url" >> "$GITHUB_OUTPUT"
Expand Down
9 changes: 9 additions & 0 deletions .pnpmfile.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,15 @@
// Release scripts stage their own installs with explicit architectures.
module.exports = {
hooks: {
// `typescript` is @tsc-rs/typescript (the catalog entry). Its npm version (0.8.x) is outside
// vite-plus-core's typescript peer range, so pnpm gave the vite-plus that @effect/vitest
// imports apps/marketing's typescript@6.0.3 instead, and tests loaded a second vitest.
readPackage(pkg) {
if (pkg.name === "@voidzero-dev/vite-plus-core" && pkg.peerDependencies?.typescript) {
pkg.peerDependencies.typescript = "*";
}
return pkg;
},
updateConfig(config) {
// oxlint-disable-next-line t3code/no-global-process-runtime -- pnpm loads this file before any Effect runtime exists.
if (process.platform !== "win32") return config;
Expand Down
2 changes: 2 additions & 0 deletions .vercelignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Vercel's default .pnp* rule also excludes pnpm's hook, whose checksum is in the lockfile.
!/.pnpmfile.cjs
8 changes: 5 additions & 3 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,14 @@ An empty database is a bad test. Seed your worktree's `.t3` with a copy of real

## Verifying

- Smallest proof that the change works. `vp test run <files>` for the tests you touched (`-t "<name>"` in big files), `vp lint <files>`, and `vp run typecheck` in the package you changed. Not `npx tsc`; it is 3x slower than tsc-rs.
- Run `vp run knip:check` (about 35 s) when you add, remove, or rename exports, files, or dependencies.
- Before you push, run `vp run check:changed`. It runs CI's fast checks for changed files: format, lint, knip, typecheck of affected packages and dependents, and tests beside changes. CI still runs the full test suites.
- While you iterate, run `vp test run <files>`. For big files, add `-t "<name>"`.
- Use `vp run typecheck`, not `npx tsc`; it caches per package. Both run tsc-rs (`typescript` is the `@tsc-rs/typescript` drop-in).
- Run `node -e` snippets from `apps/server` or the owning package. `effect` does not resolve from the repo root.
- Test meaningful logic or observable behavior. Do not render components to static markup to assert props or attributes, or add tests that merely assert callback wiring or mirror the implementation.
- **Do not run repo-wide checks.** No `vp check`, no `vp run -r test`, no `vp run -r typecheck` unless I ask. CI owns the full suite.
- Backend behavior changes ship with focused tests for that behavior.
- Proof for a bug fix depends on the bug. Logic, data, state, and protocol bugs get a failing test first (the fewest that fail on `main` for that reason, in the module's existing test file), then the fix. Purely visual bugs (spacing, colour, alignment, a layout shift) get before/after captures as their proof and no test: do not add UI tests for nitpicks, and do not ask for one in review when a capture already shows it. A server-only fix with no visible surface ships the test plus a short runtime transcript.
- The server is event-sourced, and side effects run after the command commits. In tests, drain the effect worker (`OrchestrationEffectWorkerV2.drain`) or await the specific persisted event or `Deferred` that marks the milestone. Never wait on sleeps or polling. A test that needs a timeout to pass is wrong. Concretely:
- `it.effect` runs on a `TestClock`; `Effect.sleep` only advances through `TestClock.adjust`. `it.live` is wall-clock and only for subprocess or network fixtures.
- No `yieldNow` or `sleep` polling loops. Await the `Deferred`, take from the `Queue`, or drain the worker.
Expand Down Expand Up @@ -184,7 +186,7 @@ Architecture and its constraints: `docs/internals/overview.md`. Glossary: `docs/
- `packages/contracts` - Effect/Schema contracts plus small derived helpers. No heavy runtime logic.
- `packages/shared` - shared runtime utils, subpath exports, no barrel.
- `packages/client-runtime` - client code shared by web and mobile.
- `.repos/` - vendored read-only references. Prefer their patterns over invented ones. Never edit or import from them. Sync with `vpr sync:repos` when bumping the matching dependency.
- `.repos/` - vendored read-only references. Prefer their patterns over invented ones. Never edit or import from them. Sync with `vpr sync:repos` when bumping the matching dependency. If it is missing (sparse checkout), read a file with `git show origin/main:.repos/<path>`.

## Taste

Expand Down
4 changes: 2 additions & 2 deletions apps/desktop/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ export default defineConfig({
dependsOn: ["t3#build"],
cache: false,
},
// tsc-rs rewrites the tsbuildinfo it reads, which keeps a task out of the cache.
// tsc (tsc-rs) rewrites the tsbuildinfo it reads, which keeps a task out of the cache.
typecheck: {
command: "tsc-rs --noEmit",
command: "tsc --noEmit",
cache: { input: [{ auto: true }, "!*.tsbuildinfo"] },
},
},
Expand Down
Binary file not shown.
Binary file not shown.
Loading