Skip to content

Commit 3ab7c2a

Browse files
authored
Merge branch 'main' into fix/composer-command-description-width
2 parents 358a6d4 + ff1db03 commit 3ab7c2a

1,132 files changed

Lines changed: 98294 additions & 37027 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/VOUCHED.td‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ github:realAhmedRoach
6868
github:Rishet11
6969
github:ryanrhughes
7070
github:saphid
71+
github:scratchyone
7172
github:sethwebster
7273
github:shiroyasha9
7374
github:shivamhwp

‎.github/triage/PLAYBOOK.md‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,9 @@ different code depending on it:
5959

6060
Then work from evidence, not assumption. In rough order of value:
6161

62-
- The server log and the trace file (`server.trace.ndjson`) around the time of the
63-
problem. Recent failures usually leave a trail here.
62+
- The trace file (`server.trace.ndjson`) around the time of the problem, plus the
63+
service log or desktop backend logs from the context file if they exist. Recent
64+
failures usually leave a trail here.
6465
- The provider event log, for problems with claude/codex/cursor sessions.
6566
- The SQLite database. Read it freely, but only write when a write is necessary
6667
to fix the problem the user described, and get their explicit permission

‎.github/workflows/ci.yml‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,6 @@ jobs:
5252
- name: Check
5353
run: vp check
5454

55-
- name: Check className overrides on components/ui do not grow
56-
run: vp run lint:restyle-ceiling
57-
5855
- name: Typecheck
5956
run: vpr typecheck
6057

‎.github/workflows/deploy-relay.yml‎

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,15 @@ on:
44
push:
55
branches:
66
- main
7+
# Alchemy does not redeploy the Worker when only a Config value read in its
8+
# Init changes (alchemy-run/alchemy#1831), so a changed repository variable
9+
# needs a forced deploy to reach production.
10+
workflow_dispatch:
11+
inputs:
12+
force:
13+
description: Redeploy every resource, including ones with no detected changes
14+
type: boolean
15+
default: true
716

817
permissions:
918
contents: read
@@ -17,6 +26,8 @@ concurrency:
1726
jobs:
1827
deploy_relay:
1928
name: Deploy production relay
29+
# A manual run from another branch would deploy that branch to production.
30+
if: github.ref == 'refs/heads/main'
2031
runs-on: blacksmith-8vcpu-ubuntu-2404
2132
timeout-minutes: 15
2233
environment:
@@ -28,6 +39,7 @@ jobs:
2839
RELAY_DOMAIN: ${{ vars.RELAY_DOMAIN }}
2940
RELAY_API_ZONE_NAME: ${{ vars.RELAY_API_ZONE_NAME }}
3041
RELAY_TUNNEL_ZONE_NAME: ${{ vars.RELAY_TUNNEL_ZONE_NAME }}
42+
RELAY_TUNNEL_CLEANUP_MODE: ${{ vars.RELAY_TUNNEL_CLEANUP_MODE }}
3143
CLERK_PUBLISHABLE_KEY: ${{ vars.CLERK_PUBLISHABLE_KEY }}
3244
CLERK_JWT_AUDIENCE: ${{ vars.CLERK_JWT_AUDIENCE }}
3345
APNS_ENVIRONMENT: ${{ vars.APNS_ENVIRONMENT }}
@@ -54,7 +66,7 @@ jobs:
5466
- --filter=t3code-relay...
5567
5668
- name: Deploy production relay stage
57-
run: vp run --filter t3code-relay deploy --stage prod --yes --no-input
69+
run: vp run --filter t3code-relay deploy --stage prod --yes --no-input ${{ inputs.force && '--force' || '' }}
5870
env:
5971
# The PublishClientConfig action writes the client env here instead
6072
# of the repo-root .env; nothing on the runner reads it.

‎.github/workflows/mobile-eas-preview.yml‎

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,19 @@ jobs:
7878
working-directory: apps/mobile
7979
env:
8080
EXPO_TOKEN: ${{ secrets.EXPO_TOKEN }}
81-
run: eas env:pull preview --non-interactive
81+
run: |
82+
eas env:pull preview --non-interactive
83+
# EAS Update disables dotenv loading. Keep the downloaded native config
84+
# in its process environment so Android build and OTA fingerprints match.
85+
node --input-type=module <<'NODE'
86+
import { appendFileSync, readFileSync } from "node:fs";
87+
import { parseEnv } from "node:util";
88+
const env = parseEnv(readFileSync(".env.local", "utf8"));
89+
const googleServicesFile = env.T3CODE_ANDROID_GOOGLE_SERVICES_FILE;
90+
if (googleServicesFile) {
91+
appendFileSync(process.env.GITHUB_ENV, `T3CODE_ANDROID_GOOGLE_SERVICES_FILE=${googleServicesFile}\n`);
92+
}
93+
NODE
8294
8395
- name: Deploy with fingerprint check
8496
if: steps.expo-token.outputs.present == 'true'

‎.github/workflows/mobile-showcase-screenshots.yml‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,17 @@ jobs:
7676
echo "$vp_pnpm_bin" >> "$GITHUB_PATH"
7777
"$vp_pnpm_bin/pnpm" --version
7878
79+
- name: Install AXe
80+
# Locks the simulator and answers the notification prompt for the
81+
# agent-activity scene.
82+
# Homebrew refuses third-party tap formulae until they are trusted;
83+
# older releases have no trust command and install them as is.
84+
run: |
85+
brew tap cameroncooke/axe
86+
if brew commands | grep -qx trust; then brew trust --formula cameroncooke/axe/axe; fi
87+
brew install cameroncooke/axe/axe
88+
axe --version
89+
7990
- name: Capture iOS showcase
8091
run: pnpm screenshots:mobile --platform ios --appearance "${{ inputs.appearance }}" --theme "${{ inputs.theme }}"
8192

‎.github/workflows/release-desktop.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -510,6 +510,7 @@ jobs:
510510
"release/*.dmg"
511511
"release/*.zip"
512512
"release/*.AppImage"
513+
"release/*.deb"
513514
"release/*.exe"
514515
)
515516
# Preview builds have no publish config, so electron-builder writes

‎.github/workflows/release.yml‎

Lines changed: 70 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -259,13 +259,76 @@ jobs:
259259
- name: Typecheck
260260
run: vp run typecheck
261261

262+
# Keep tests on their own runners, using the same package split and server
263+
# shards as CI, so the release check job does not spend its budget on tests.
264+
test:
265+
name: Release tests
266+
needs: [preflight]
267+
if: ${{ !failure() && !cancelled() && needs.preflight.result == 'success' }}
268+
runs-on: blacksmith-8vcpu-ubuntu-2404
269+
timeout-minutes: 10
270+
steps:
271+
- name: Checkout
272+
uses: actions/checkout@v6
273+
with:
274+
ref: ${{ needs.preflight.outputs.ref }}
275+
sparse-checkout: |
276+
/*
277+
!/.repos/
278+
sparse-checkout-cone-mode: false
279+
280+
- name: Setup Vite+
281+
uses: voidzero-dev/setup-vp@v1
282+
with:
283+
node-version-file: package.json
284+
cache: true
285+
run-install: true
286+
287+
- name: Ensure Electron runtime is installed
288+
run: vp run --filter @t3tools/desktop ensure:electron
289+
262290
- uses: ./.github/actions/setup-apt-mirrors
263291

264292
- name: Install browser secret helper build libraries
265-
run: sudo apt-get update && sudo apt-get install -y libsecret-1-dev pkg-config
293+
run: |
294+
sudo sed -i 's|http://|https://|g' /etc/apt/blacksmith-ubuntu-mirrors.txt /etc/apt/sources.list.d/ubuntu.sources
295+
sudo apt-get update && sudo apt-get install -y libsecret-1-dev pkg-config build-essential
296+
297+
- name: Test
298+
run: vp run --parallel --concurrency-limit 4 --filter '!t3' --filter '!@t3tools/monorepo' test
299+
300+
test_server:
301+
name: Release server tests ${{ matrix.shard }}
302+
needs: [preflight]
303+
if: ${{ !failure() && !cancelled() && needs.preflight.result == 'success' }}
304+
runs-on: blacksmith-8vcpu-ubuntu-2404
305+
timeout-minutes: 10
306+
strategy:
307+
fail-fast: false
308+
matrix:
309+
shard: [1, 2, 3]
310+
steps:
311+
- name: Checkout
312+
uses: actions/checkout@v6
313+
with:
314+
ref: ${{ needs.preflight.outputs.ref }}
315+
sparse-checkout: |
316+
/*
317+
!/.repos/
318+
sparse-checkout-cone-mode: false
319+
320+
- name: Setup Vite+
321+
uses: voidzero-dev/setup-vp@v1
322+
with:
323+
node-version-file: package.json
324+
cache: true
325+
run-install: true
266326

327+
# No Electron setup here: `t3` (apps/server) has no Electron dependency
328+
# and none of its tests touch the runtime. Only the non-server `test`
329+
# job, which covers @t3tools/desktop, needs the download.
267330
- name: Test
268-
run: vp run test
331+
run: vp run --filter t3 test --shard ${{ matrix.shard }}/${{ strategy.job-total }}
269332

270333
relay_public_config:
271334
name: Resolve T3 Connect public config
@@ -562,7 +625,7 @@ jobs:
562625
clerk_cli_oauth_client_id: ${{ needs.relay_public_config.outputs.clerk_cli_oauth_client_id }}
563626
relay_url: ${{ needs.relay_public_config.outputs.relay_url }}
564627
label: Linux arm64
565-
runner: ubuntu-24.04-arm
628+
runner: blacksmith-16vcpu-ubuntu-2404-arm
566629
platform: linux
567630
target: AppImage
568631
arch: arm64
@@ -630,13 +693,15 @@ jobs:
630693
preflight,
631694
relay_public_config,
632695
quality,
696+
test,
697+
test_server,
633698
desktop_mac_arm64,
634699
desktop_linux_x64,
635700
desktop_linux_arm64,
636701
desktop_win_x64,
637702
desktop_win_arm64,
638703
]
639-
if: ${{ !failure() && !cancelled() && needs.preflight.result == 'success' && needs.relay_public_config.result == 'success' && needs.quality.result == 'success' && needs.desktop_mac_arm64.result == 'success' && needs.desktop_linux_x64.result == 'success' && needs.desktop_linux_arm64.result == 'success' && needs.desktop_win_x64.result == 'success' && needs.desktop_win_arm64.result == 'success' }}
704+
if: ${{ !failure() && !cancelled() && needs.preflight.result == 'success' && needs.relay_public_config.result == 'success' && needs.quality.result == 'success' && needs.test.result == 'success' && needs.test_server.result == 'success' && needs.desktop_mac_arm64.result == 'success' && needs.desktop_linux_x64.result == 'success' && needs.desktop_linux_arm64.result == 'success' && needs.desktop_win_x64.result == 'success' && needs.desktop_win_arm64.result == 'success' }}
640705
runs-on: ubuntu-24.04 # blacksmith-8vcpu-ubuntu-2404
641706
timeout-minutes: 15
642707
permissions:
@@ -810,6 +875,7 @@ jobs:
810875
echo 'release-assets/*.dmg'
811876
echo 'release-assets/*.zip'
812877
echo 'release-assets/*.AppImage'
878+
echo 'release-assets/*.deb'
813879
echo 'release-assets/*.exe'
814880
if [[ "${{ needs.preflight.outputs.release_channel }}" != "preview" ]]; then
815881
echo 'release-assets/*.blockmap'

‎.macroscope/check-run-agents/effect-service-conventions.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Effect Service Conventions
3-
model: gpt-5-6-sol
4-
effort: medium
3+
model: gpt-6-sol
4+
effort: max
55
input: incremental
66
tools:
77
- browse_code

‎.macroscope/check-run-agents/ui-consistency.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: UI Consistency
3-
model: gpt-5-6-sol
4-
effort: medium
3+
model: gpt-6-sol
4+
effort: max
55
input: incremental
66
tools:
77
- browse_code

0 commit comments

Comments
 (0)